Witam,

Tworze nowy szablon zaplecza w joomla i napotkalem pewien problem. Otoz na stronie posidam kod javascript, ktorego strona nie czyta.

Prawdopodobnie gdzies jest blad przy sciezka do pliku javascript w sekcji head.

Kod szablonu:


<?php
/**
* @copyright Copyright (C) 2005 - 2010 ArtTechnology. All rights reserved.


*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="pl"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="pl"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="pl"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="pl"> <!--<![endif]-->

<head>
<jdoc:include type="head" />

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />

<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link href="templates/<?php echo $this->template ?>/css/template.css" rel="stylesheet" type="text/css" />

<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/liquid.css" type="text/css">

<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/leftmenu.css" type="text/css">

<!-- CSS Media Queries for Standard Devices -->
<!--[if !IE]><!-->
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/devices/smartphone.css" media="only screen and (min-width : 320px) and (max-width : 767px)">
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/devices/ipad.css" media="only screen and (min-width : 768px) and (max-width : 1024px)">
<!--<![endif]-->

<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<link href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed&subset=latin-ext' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow' rel='stylesheet' type='text/css'>

<!-- All JavaScript at the bottom, except for Modernizr / Respond.
Modernizr enables HTML5 elements & feature detects; Respond is a polyfill for min/max-width CSS3 Media Queries
For optimal performance, use a custom Modernizr build: www.modernizr.com/download/ -->
<script src="templates/<?php echo $this->template ?>/js/libs/modernizr-2.0.6.min.js"></script>

<script src="templates/<?php echo $this->template ?>/javascripts/lib/jquery-1.7.1.min.js"></script>

<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/init.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/script.js"></script>

<?php if(JModuleHelper::isEnabled('menu')) : ?>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/menu.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/index.js"></script>
<?php endif; ?>


<!-- JavaScript at the bottom for fast page loading -->
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="js/excanvas.min.js"></script><![endif]-->


<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6.
chromium.org/developers/how-tos/chrome-frame-getting-started -->
<!--[if lt IE 7 ]>
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
<script>window.attachEvent('onload',function(){CFI nstall.check({mode:'overlay'})})</script>
<![endif]-->

<!-- scripts -->
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/elfinder.min.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/jquery.flot.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/jquery.flot.pie.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/jquery.flot.resize.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/jquery.flot.stack.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/jquery.flot.crosshair.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/jquery.dataTables.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/jquery.tools.min.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/fullcalendar.min.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/jquery.gritter.min.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/jquery.simplemodal.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/jquery.autogrowtextarea.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/jquery.wysiwyg.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/controls/wysiwyg.image.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/controls/wysiwyg.link.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/controls/wysiwyg.table.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/jquery.idTabs.min.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/jquery.validate.min.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/chosen.jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/jquery.jqtransform.js"></script>
<script language="javascript" type="text/javascript" src="templates/<?php echo $this->template ?>/js/mylibs/jquery.ba-hashchange.min.js"></script>
<!-- end scripts-->



</head>
<body>

<div id="body-container">
<div id="container">
<header>
<a id="logo"></a>
<div id="main-navigation">

<jdoc:include type="modules" name="mainnavigation" />

</div>
<div id="profile">
<div id="user-data">

<jdoc:include type="modules" name="userdata" />

</div>
<div class="clearfix"></div>
<div id="user-notifications">
<ul>
<li>
<jdoc:include type="modules" name="status" />
</li>
</ul>
</div>
</div>
<div class="clearfix"></div>
</header>
<div id="main" role="main">
<div id="nav">
<div id="navigation-search">

<jdoc:include type="modules" name="search" />

</div>

<jdoc:include type="modules" name="menu" />

<a id="show-modal" class="messages-16 tt-top-center" title="Skontaktuj się z nami"></a>
<div class="clearfix"></div>

</div>

<div id="main-container">
<div id="body-section" style="">
<div id="left-menu">
<ul>
<li class="menu-trigger active">
<a id="c-overview" class="overview-16" href="#">Witryna</a>
</li>
<li class="menu-trigger">
<a id="c-elements" class="elements-16" href="#">Menu</a>
</li>
<li class="menu-trigger">
<a id="c-data" class="data-16" href="#">Artykuły</a>
</li>
<li class="menu-trigger">
<a id="c-widgets" class="widgets-16" href="#">Komponenty</a>
</li>
<li class="error-trigger">
<a class="error-16" href="#404">Rozszerzenia</a>
</li>
<li class="error-trigger">
<a class="error-16" href="#500">Narzędzia</a>
</li>
</ul>
<div class="clearfix"></div>
</div>
<div id="content-container">
<div id="content">
<div class="c-overview">
<jdoc:include type="modules" name="title" />
<div class="clr"></div>
<jdoc:include type="message" />
<div class="clr"></div>
<jdoc:include type="modules" name="toolbar" />
<div class="clr"></div>
<div id="submenu">
<?php if (!JRequest::getInt('hidemainmenu')): ?>
<jdoc:include type="modules" name="submenu" />
<?php endif; ?>
</div>
<div class="clr"></div>
<jdoc:include type="component" />

</div>
</div>
</div>

<div id="styler">
<div class="container-dark">
<div class="bg-changer">
<a class="bg_2" title="tło #1"></a>
<a class="bg_3" title="tło #2"></a>
<a class="bg" title="Domyślne tło"></a>
</div>
</div>
</div>

</div>
</div>
<div class="clearfix"></div>

</div>
<footer>
<span>Copyright &copy; 2011 ArtTechnology.com.pl</span>
</footer>

</div>
</div>

</body>
</html>




Prosze o szybka odpowiedz.


Pozdrawiam