Здравствуйте! Народ кто нить может подсказать по поводу позиции в шаблоне. У меня шаблон блога, но мне нужно сделать левую колонку (новую позицию), сколько мучаюсь, да никак не могу сделать..то основной текст под колонкой а не в центре, то еще что нить ..((( может кто знает как прописать ...куда вставить позицию, чтоб было все ровно как на сайтах с 3 колонками ...??? рисунок 1 -как сейчас... рисунок 2 как хотелось бы ...
<!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> <jdoc:include type="head" /> <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/system.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/general.css" type="text/css" /> <link href="templates/<?php echo $this->template ?>/css/suckerfish.css" rel="stylesheet" type="text/css" /> <link href="templates/<?php echo $this->template ?>/css/template.css" rel="stylesheet" type="text/css" /> <link href="templates/<?php echo $this->template ?>/css/menu.css" rel="stylesheet" type="text/css" /> <link href="templates/<?php echo $this->template ?>/css/module.css" rel="stylesheet" type="text/css" /> <link href="templates/<?php echo $this->template ?>/css/layout.css" rel="stylesheet" type="text/css" /> <?php if ($tooltip == "1") : ?> <script type="text/javascript" src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/js/tips.js"></script> <?php endif; ?> <?php if ($moomenu == "1") : ?> <script type="text/javascript" src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/js/moomenu.js"></script> <?php endif; ?> <?php if($this->countModules('right') == 0) { ?> <style type="text/css" media="screen"> #left { width:930px; } </style> <?php } ?> <!--[if IE 7]> <style type="text/css"> #suckerfish * li:hover { visibility: inherit; /* fixes IE7 'sticky bug' */ div.clear{display:none;} </style> <![endif]--> </head> <body> <!--BEGINN WRAPPER --> <div id="wrapper"> <!--BEGINN TOP --> <div id="top"> <?php if($this->countModules('search')) : ?><div id="search"><jdoc:include type="modules" name="search" style="rounded" /></div><?php endif; ?> <?php if($this->countModules('top')) : ?><div id="topmenu"><jdoc:include type="modules" name="top" style="rounded" /></div><?php endif; ?> <div class="clear"></div> </div> <!--END TOP --> <!--BEGINN HEADER --> <div id="header"> <div id="logo"><a href="<?php echo $this->baseurl ?>" class="thetip" title="<?php echo $this->params->get('ToolTipLogo'); ?>"><img src="templates/<?php echo $this->template ?>/images/logo.gif" alt="<?php echo $siteName; ?>" border="0" /></a></div> <?php if($this->countModules('banner')) : ?><div id="banner"><jdoc:include type="modules" name="banner" style="rounded" /></div><?php endif; ?> <div class="clear"></div> </div> <!--END HEADER --> <!--BEGINN SUCKERFISH --> <div id="suckerfish_outer"> <div id="suckerfish" class="dropdown"><jdoc:include type="modules" name="suckerfish" /></div> </div> <!--END SUCKERFISH --> <!--BEGINN BREADCRUMBS --> <?php if($this->countModules('breadcrumbs')) : ?><div id="breadcrumb" ><?php echo $this->params->get('pathway_text'); ?> <jdoc:include type="modules" name="breadcrumbs" /></div><?php endif; ?> <!--END BREADCRUMBS --> <!--BEGINN JOOMLA CONTENT --> <div id="content"> <!--BEGINN LEFT --> <div id="left"> <!--BEGINN USER MODULE --> <?php if($this->countModules('user1')) : ?><div class="user_module_top"><jdoc:include type="modules" name="user1" style="rounded" /></div><?php endif; ?> <!--END USER MODULE --> <div id="joomla_content" class="clr"><jdoc:include type="message" /><jdoc:include type="component" /></div> <!--BEGINN USER MODULE --> <?php if($this->countModules('user2')) : ?><div class="user_module_bottom"><jdoc:include type="modules" name="user2" style="rounded" /></div><?php endif; ?> <!--END USER MODULE --> </div> <!--END LEFT --> <?php if($this->countModules('right')) : ?><div id="right"><jdoc:include type="modules" name="right" style="rounded" /></div><?php endif; ?> <div class="clear"></div> </div> <!--END JOOMLA CONTENT --> <div class="clear"></div> </div> <!--END WRAPPER --> <!--BEGINN BOTTOM --> <a href="http://btamedia.ru"><img src="http://btamedia.ru/a.png"></a> <div id="bottom"> <!--BEGINN FOOTER --> <?php if($this->countModules('footer')) : ?><div id="footer" ><jdoc:include type="modules" name="footer" style="rounded" /></div><?php endif; ?> <!--END FOOTER --> <!--END BOTTOM --> </div> <jdoc:include type="modules" name="debug" style="" /> </body> </html>
Убрал <!--BEGINN USER MODULE --> <?php if($this->countModules('user1')) : ?><div class="user_module_top"><jdoc:include type="modules" name="user1" style="rounded" /></div><?php endif; ?> <!--END USER MODULE --> Нет User 1...что и нужно было ... Создал позицию в templateDetails после этого методом научного тыка пытался левую колонку сделать...так и не получилось, может кто профессионал подскажет? Если и перемещается, то текст под ней а не в центре(((