Hi,
can someone please help me with this?
I want to display a module position eg.inset2 ONLY if an article is being viewd and only then.Not to menus components e.t.c.
I found in the Joomla forum that i should use something like
<?php if( JRequest::getVar( 'view' ) == 'article' ): ?>
<jdoc:include type="modules" name="your_custom_position" />
<?php endif; ?> in my index.php.
I tried to put this code in templates/gk_memovie/layouts/blocks/main.php but with no luck...
Can someone please help me with this?Has anyone done it?