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ć?
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ć?