Hi ,
How to show module only on k2 item page only
Please help very urgent
thank y
How to show module only on k2 item page only
Please help very urgent
thank y
<?php
$com = JRequest::getCmd('option');
$view = JRequest::getCmd('view');
if($com=='com_k2' && $view!='item'): ?>
<jdoc:include type="modules" name="position-5" style="xhtml" />
<?php else: ?>
<jdoc:include type="modules" name="position-custom" style="xhtml" />
<?php endif ?>
Log in or create an account to reply.