I'm using Joomla 2.5.11 + K2 v2.6.6 + GK template Bikestore.
I wish to display NSP GK4 module only on K2 items not on the category view.
My main link menu point on a K2 category list view, not on a particular item.
In the module option 'menu assignment', we do not have option to display a module only on k2 items of the k2 category.
Searching on k2.org forum, someone give this solution :
1-find in your template's index.php if these lines exists
- Code: Select all
$option = JRequest::getCmd('option');
$view = JRequest::getCmd('view');
2-Insert following code
- Code: Select all
<?php if($option=='com_k2' && $view=='item'): ?>
// enter your module position here.
<?php endif; ?>
As GK template Bikestore use Gavern framework, the index.php file of the template is not as usual.
So, i'm totally lost, where could i control the module display in Gavern Framework?
Is some one have an other idea?
Thanks