Взялась за переделку шаблона с версии под joomla 1.5 для 1.7 и сразу столкнулась со следующими проблемами Из материалов найденых в сети подправила templateDetails.xml , index.php и добавила пару новых папок шаблон установился без ошибок, но на страницах сайта не одна позиция не отобразилась, никак не могу понять в чем дело, я уж и те что стоят по умолчанию шаблоны изучила но ничего не поняла, грушу на count modules и подключенное меню, но что именно править не знаю, прошу помочь советом, кто знает, прилагаю мой index.php Код (html): <?php defined('_JEXEC') or die; ?> <?php echo '<?'; ?>xml version="1.0" encoding="<?php echo $this->_charset ?>"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"xml:lang="<?php echo $this->language; ?>"lang="<?php echo $this->language; ?>" > <head> <link rel="icon" href="favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> <jdoc:include type="head" /> <?php $this->setGenerator('joomla'); ?> <?php $mainframe = JFactory::getApplication(); ?> <!--UserAgent--> <?php $agent=" ".$HTTP_USER_AGENT; if (strpos($agent,"DISCo Pump") || strpos($agent,"Offline Explorer") || strpos($agent,"Teleport") || strpos($agent,"WebZIP") || strpos($agent,"WebCopier") || strpos($agent,"Wget") || strpos($agent,"FlashGet") || strpos($agent,"CIS TE") || strpos($agent,"DTS Agent") || strpos($agent,"WebReaper") || strpos($agent,"HTTrack") || strpos($agent,"Web Downloader")) { die("Access Denied"); } ?> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" media="all" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" media="all" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/reset.css" type="text/css" media="all" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style.css" type="text/css" media="all" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" media="all" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/modules.css" type="text/css" media="all" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/mainmenu.css" type="text/css" media="all" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/search.css" type="text/css" media="all" /> <?php if($this->countModules('extra-left and extra-right') == 0) $content = "100"; if($this->countModules('extra-left or extra-right') == 1) $content = "80"; if($this->countModules('extra-left and extra-right') == 1) $content = "60"; ?> <?php if($this->countModules('left and right') == 0) $c2 = "100"; if($this->countModules('left or right') == 1) $c2 = "80"; if($this->countModules('left and right') == 1) $c2 = "60"; ?> <?php if($this->countModules('left-in and right-in') == 0) $c4 = "100"; if($this->countModules('left-in or right-in') == 1) $c4 = "80"; if($this->countModules('left-in and right-in') == 1) $c4 = "60"; ?> <!--Mainmenu--> <?php if ( $my->id ) { initEditor(); } $menu_type = "suckerfish"; $menu_name = "mainmenu"; if ($menu_type != "module") { require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/mainmenu.php"); } ?> <!--Styles--> <style type="text/css"> #wrapper { width: <?php echo $this->params->get('tpl-width'); ?>; } body, .piebox, button, input[type="button"], input[type="submit"], input[type="reset"], select, textarea, input[type="text"], input[type="password"], input[type="file"], #mainmenu-nav ul, .popup-block, ul#mainmenu-nav li:hover ul { behavior: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/PIE.htc); } </style> </head> <body> <div id="autormess"></div> <div id="wrapper"><!--wrapper--> <div id="w1"><!--w1--> <a id="logo" href="<?php echo $this->baseurl ?>" title="<?php echo JText::_('Go to the home page'); ?>"><img src="/templates/<?php echo $this->template ?>/img/logo.png" alt="<?php echo JText::_('Home Page'); ?> <?php echo $mainframe->getCfg('sitename');?>" /></a> <div id="mainmenu"><?php if ($menu_type == "suckerfish") mosShowSuckerFishMenu($menu_name); ?></div> <?php if($this->countModules('search')) : ?><div id="search"><jdoc:include type="modules" name="search" style="blank" /></div><?php endif; ?> <?php if($this->countModules('header')) : ?><div id="header"><jdoc:include type="modules" name="header" style="pngbox" /></div><?php endif; ?> <div id="main"><!--main--> <?php if($this->countModules('extra-left')) : ?><div id="extra-left"><jdoc:include type="modules" name="extra-left" style="rtitle" /></div><?php endif; ?> <div id="content-<?php echo $content; ?>"><!--content--> <?php if($this->countModules('under')) : ?><div id="under"><jdoc:include type="modules" name="under" style="blank" /></div><?php endif; ?> <div class="c1"><!--c1--> <?php if($this->countModules('left')) : ?><div id="left"><jdoc:include type="modules" name="left" style="blank" /></div><?php endif; ?> <div class="c2-<?php echo $c2; ?>"><!--c2--> <?php if($this->countModules('top')) : ?><div id="top"><jdoc:include type="modules" name="top" style="blank" /></div><?php endif; ?> <div class="c3"><!--c3--> <?php if($this->countModules('left-in')) : ?><div id="left-in"><jdoc:include type="modules" name="left-in" style="blank" /></div><?php endif; ?> <div class="c4-<?php echo $c4; ?>"><!--c4--> <?php if($this->countModules('breadcrumbs')) : ?><div id="breadcrumbs"><jdoc:include type="modules" name="breadcrumbs" style="blank" /></div><?php endif; ?> <?php if($this->countModules('component-top')) : ?><div id="component-top"><jdoc:include type="modules" name="component-top" style="blank" /></div><?php endif; ?> <div id="component"><jdoc:include type="component" /></div> <?php if($this->countModules('component-bottom')) : ?><div id="component-bottom"><jdoc:include type="modules" name="component-bottom" style="blank" /></div><?php endif; ?> <?php if($this->countModules('popup')) : ?><div id="popup"><jdoc:include type="modules" name="popup" style="popup" /></div><?php endif; ?> </div><!--c4.end--> <?php if($this->countModules('right-in')) : ?><div id="right-in"><jdoc:include type="modules" name="right-in" style="blank" /></div><?php endif; ?> </div><!--c3.end--> <?php if($this->countModules('bottom')) : ?><div id="bottom"><jdoc:include type="modules" name="bottom" style="piebox" /></div><?php endif; ?> </div><!--c2.end--> <?php if($this->countModules('right')) : ?><div id="right"><jdoc:include type="modules" name="right" style="blank" /></div><?php endif; ?> </div><!--c1.end--> <?php if($this->countModules('sub')) : ?><div id="sub"><jdoc:include type="modules" name="sub" style="blank" /></div><?php endif; ?> </div><!--content.end--> <?php if($this->countModules('extra-right')) : ?><div id="extra-right"><jdoc:include type="modules" name="extra-right" style="blank" /></div><?php endif; ?> </div><!--main.end--> </div><!--w1.end--> <div id="footer-block"><!--footer-block--> <div class="footer-holder"><!--footer-holder--> <div class="footer-frame"><!--footer-frame--> <?php if($this->countModules('footer')) : ?><div id="footer"><jdoc:include type="modules" name="footer" style="blank" /></div><?php endif; ?> </div><!--footer-frame.end--> </div><!--footer-holder.end--> </div><!--footer-block--> </div><!--wrapper.end--> </body> </html>