todd4
16-10-2008, 12:24
Witam
Potrzebuję umięścić jeszcze 2 pola na moduły w templatce a nie wiem jak to zrobić. W joomli 1.0.15 było to bez problemu. Mianowicie:
Mam 2 kolumny po bokach i jedna centrajna dla komponentow a potrzebuje zeby ta centralna zeszla trochę w dol a nad nią pojawiły się jeszcze 2 kolumny obok siebie takie ktore bedą krótkie np: leftcenter i rightcenter tak zeby strona pod headerem miala 4 kolumny z tego d srodkowe krotkie i pod nimi komponent. ...troche zamieszalem ale moze ktoś zrozumie:)
Kod html:
<body class="body_bg">
<div class="bg">
<div id="wrapper">
<div id="header_3">
<div id="header_2">
<div id="header_1">
<div id="header">
<div id="logo">
<a href="index.php"><?php echo $mainframe->getCfg('sitename') ;?></a>
</div>
</div>
</div>
</div>
</div>
<div id="top_menu">
<table cellpadding="0" cellspacing="0" style="margin:0 auto;">
<tr>
<td>
<jdoc:include type="modules" name="user3" />
</td>
</tr>
</table>
<div class="clr"></div>
</div>
<div class="content_b">
<div id="content">
<?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
<div id="leftcolumn">
<jdoc:include type="modules" name="left" style="rounded" />
<?php $sg = 'banner'; include "templates.php"; ?>
</div>
<?php endif; ?>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="main">
<?php else: ?>
<div id="main_full">
<?php endif; ?>
<div class="nopad">
<jdoc:include type="message" />
<?php if($this->params->get('showComponent')) : ?>
<jdoc:include type="component" />
<?php endif; ?>
</div>
</div>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="search">
<table cellspacing="0" cellpadding="0">
<tr>
<td>
<jdoc:include type="modules" name="user4" />
</td>
</tr>
</table>
<div class="clr"></div>
</div>
<div id="rightcolumn" style="float:right;">
<jdoc:include type="modules" name="right" style="rounded" />
</div>
<?php endif; ?>
<div class="clr"></div>
<jdoc:include type="modules" name="debug" />
</div>
</div>
<div class="clr"></div>
</div>
Może ktoś mi w tym pomoże
Pozdrawiam
Potrzebuję umięścić jeszcze 2 pola na moduły w templatce a nie wiem jak to zrobić. W joomli 1.0.15 było to bez problemu. Mianowicie:
Mam 2 kolumny po bokach i jedna centrajna dla komponentow a potrzebuje zeby ta centralna zeszla trochę w dol a nad nią pojawiły się jeszcze 2 kolumny obok siebie takie ktore bedą krótkie np: leftcenter i rightcenter tak zeby strona pod headerem miala 4 kolumny z tego d srodkowe krotkie i pod nimi komponent. ...troche zamieszalem ale moze ktoś zrozumie:)
Kod html:
<body class="body_bg">
<div class="bg">
<div id="wrapper">
<div id="header_3">
<div id="header_2">
<div id="header_1">
<div id="header">
<div id="logo">
<a href="index.php"><?php echo $mainframe->getCfg('sitename') ;?></a>
</div>
</div>
</div>
</div>
</div>
<div id="top_menu">
<table cellpadding="0" cellspacing="0" style="margin:0 auto;">
<tr>
<td>
<jdoc:include type="modules" name="user3" />
</td>
</tr>
</table>
<div class="clr"></div>
</div>
<div class="content_b">
<div id="content">
<?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
<div id="leftcolumn">
<jdoc:include type="modules" name="left" style="rounded" />
<?php $sg = 'banner'; include "templates.php"; ?>
</div>
<?php endif; ?>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="main">
<?php else: ?>
<div id="main_full">
<?php endif; ?>
<div class="nopad">
<jdoc:include type="message" />
<?php if($this->params->get('showComponent')) : ?>
<jdoc:include type="component" />
<?php endif; ?>
</div>
</div>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="search">
<table cellspacing="0" cellpadding="0">
<tr>
<td>
<jdoc:include type="modules" name="user4" />
</td>
</tr>
</table>
<div class="clr"></div>
</div>
<div id="rightcolumn" style="float:right;">
<jdoc:include type="modules" name="right" style="rounded" />
</div>
<?php endif; ?>
<div class="clr"></div>
<jdoc:include type="modules" name="debug" />
</div>
</div>
<div class="clr"></div>
</div>
Może ktoś mi w tym pomoże
Pozdrawiam