PDA

Zobacz pełną wersję : Pozycja menu



radoslawszymanski
27-11-2008, 20:45
Jak zmodyfikować kod aby menu moża ustawić także w pozycji TOP

<!--center start-->
<div class="center">
<div id="wrapper">
<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="maincolumn">
<div class="m1">
<?php else: ?>
<div id="maincolumn_full">
<div class="m1_f">

zwiastun
27-11-2008, 21:23
1. Po co przytoczyłeś ten kod?
2. Dodać sobie do szablonu pozycję top na wzór innych

radoslawszymanski
28-11-2008, 11:08
A można dokładniej, proszę.....

zwiastun
28-11-2008, 11:19
Co dokładniej? Kurs tworzenia szablonów? Dla Joomla 1.0 jest w serwisie pomocy, dla Joomla 1.5 po angielsku na www.docs.joomla.org

idek
28-11-2008, 12:49
choćby tak:



<!--center start-->
<div class="center">
<div id="wrapper">
<div id="content">

<jdoc:include type="modules" name="top" />

<?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="maincolumn">
<div class="m1">
<?php else: ?>
<div id="maincolumn_full">
<div class="m1_f">


i faktycznie poczytaj coś więcej jak pisze zwiastun