PDA

Zobacz pełną wersję : Proszę o pomoc - układ w szablonie



kskk85
18-09-2010, 15:58
Witam,

Mam taki kod w szablonie:

<?php if ($this->countModules('user1'))$class="half";else $class="full"; ?>
<?php if ($this->countModules('user1')): ?>
<!-- BEGIN: INSIDE LEFT -->
<div id="ja-insideleft">
<jdoc:include type="modules" name="user1" style="xhtml" />
</div>
<?php endif; ?>
<!-- END: INSIDE LEFT -->

<!-- BEGIN: INSIDE RIGHT -->
<div id="ja-insideright_<?php echo $class;?>">
<?php if ($this->countModules('user2')): ?>
<jdoc:include type="modules" name="user2" style="xhtml" />
<?php endif; ?>
<jdoc:include type="message" />
<jdoc:include type="component" />
</div>

problemy w tym, że w ramce user 2 pojawiają sie artykuły opublikowane jako na stronie głownej. Chciałbym, żeby tam wyświetlaly sie tylko moduły włączone na user 2

Ma ktoś pomysł jak to zrobić?

a_m
18-09-2010, 16:07
komponent jest w tym samym worku co moduły z user2, więc się tak wyświetla; musisz przebudować szablon