Это scheme.html
[hide]
<table> <tr> <td width="30%" class="filled"> {cell:LANG_PAGE_LOGO} </td> <td> {position:header} </td> </tr> </table> <table> <tr> <td colspan="2"> {position:top} </td> </tr> <tr> <?php if($this->options['aside_pos'] == 'left'){ ?> <td width="20%"> {position:right-top} {position:right-bottom} </td> <?php } ?> <td width="60%"> {position:left-top} {block:LANG_PAGE_BODY} {position:left-bottom} </td> <?php if($this->options['aside_pos'] == 'left'){ ?> <td width="20%"> {position:right-center} </td> <?php } ?> </tr> </table> <table> <tr> <td width="65%" class="filled"> {cell:LANG_PAGE_FOOTER} </td> <td> {position:footer} </td> </tr> </table>
main.tpl.php будет выглядеть так:
это как раз место вывода колонок и секции)
[hide]
<aside> <?php $this->widgets('right-center'); ?> </aside> <section style="width:<?php echo $section_width; ?>"> <?php $this->widgets('left-top'); ?> <?php if ($this->isBody()){ ?> <article> <?php if ($config->show_breadcrumbs && $this->isBreadcrumbs()){ ?> <div id="breadcrumbs"> </div> <?php } ?> <?php $this->body(); ?> </article> <?php } ?> <?php $this->widgets('left-bottom'); ?> </section> <?php if($is_sidebar){ ?> <aside> <?php $this->widgets('right-top'); ?> <?php $this->widgets('right-bottom'); ?> </aside> <?php } ?> </div>
Всем спасибо!