1
I Template di Joomla 1.5.x / Re:Nuove posizioni affiancate
« il: 20 Dic 2009, 21:49:37 »
Mi sembra corretto, ma probabilmente non faccio gli inserimenti corretti.
Questo è il codice:
<?php if ($this->countModules('user4')) : ?>
<div id="user4">
<jdoc:include type="modules" name="user4" style="xhtml" />
</div>
<?php endif; ?>
<?php if ($this->countModules('user5')) : ?>
<div id="user5">
<jdoc:include type="modules" name="user5" style="xhtml" />
</div>
<?php endif; ?>
nel css, in fondo:
#user5 {
float: left;
width:100%}
Risultato: i moduli sono sovrapposti non affiancati.
Dovè l'inghippo?
Questo è il codice:
<?php if ($this->countModules('user4')) : ?>
<div id="user4">
<jdoc:include type="modules" name="user4" style="xhtml" />
</div>
<?php endif; ?>
<?php if ($this->countModules('user5')) : ?>
<div id="user5">
<jdoc:include type="modules" name="user5" style="xhtml" />
</div>
<?php endif; ?>
nel css, in fondo:
#user5 {
float: left;
width:100%}
Risultato: i moduli sono sovrapposti non affiancati.
Dovè l'inghippo?