Возник вопрос по верстке. Я выстовил 3 модуля в ряд в шаблоне , таким макаром: <div style="float:left;width:30%"><jdoc:include type="modules" name="user5" style="xhtml/></div><div style="float:left;width:20%"><jdoc:include type="modules" name="user6" style="xhtml/></div><div style="float:left;width:30%"><jdoc:include type="modules" name="user7" style="xhtml/></div><div style="float:left;width:20%"><jdoc:include type="modules" name="user8" style="xhtml/></div> Но у меня выводятся только содержимое модулей , а шапка с названием не выводится. Посмотрел как прописывалось в шаблоне , что бы сделать по аналогии, так там следующее: <?php if ($user1 or $user2) : ?> <div id="usermod<?php echo $content; ?>"> <?php if ($user1) : ?> <div id="user1" style="<?php echo $user1_style; ?>"> <jdoc:include type="modules" name="user1" style="xhtml" /> </div> <?php endif; ?> <?php if ($user2) : ?> <div id="user2" style="<?php echo $user2_style; ?>"> <jdoc:include type="modules" name="user2" style="xhtml" /> </div> <?php endif; ?> а в шапке, прописано: $user1 = $this->countModules('user1')?1:0; $user2 = $this->countModules('user2')?1:0; // USER 1 & 2 calculations if ($user1+$user2 == 2) : $user1_style="float:left;width:49%;"; $user2_style="float:left;width:49%;"; elseif (($user1 == 1) and ($user2 == 0)) : $user1_style="width:99%;"; elseif (($user1 == 0) and ($user2 == 1)) : $user2_style="width:99%"; endif; Делаю по аналогии ничего не получается. пишет ошибку , и все!!! Как сделать , что бы модули и вряд стояли . и что бы шапку выводило?