Hi,
We have a Joomla 3.1.5 site and have installed K2 2.6.7 with SIG Pro 3.0.2 on it.
I can use the editor SIG Pro button to display the SIG image gallery in the K2 item content area. But what I want to do is display the SIG Pro gallery in a different area of the K2 item details template. What code do I need to add to the K2 item template in order to display a particular SIG Pro album where I want it displayed?
I tried adding:
{gallery}103-33-North-Templeton-LowRes{/gallery}
where I wanted the gallery to be displayed in the template, but that didn't work.
In Joomla 1.5 I had this code to load a K2 plugin:so I tried the following code:but all I get out is: {gallery}103-33-North-Templeton-LowRes{/gallery}
Does anyone know how to get this to work in the template?
Thank you.
We have a Joomla 3.1.5 site and have installed K2 2.6.7 with SIG Pro 3.0.2 on it.
I can use the editor SIG Pro button to display the SIG image gallery in the K2 item content area. But what I want to do is display the SIG Pro gallery in a different area of the K2 item details template. What code do I need to add to the K2 item template in order to display a particular SIG Pro album where I want it displayed?
I tried adding:
{gallery}103-33-North-Templeton-LowRes{/gallery}
where I wanted the gallery to be displayed in the template, but that didn't work.
In Joomla 1.5 I had this code to load a K2 plugin:
$mainframe = &JFactory::getApplication();
JPluginHelper::importPlugin('k2', 'k2vsig');
$dispatcher = &JDispatcher::getInstance();
$item->text = '{k2vsig}' . $gallery_images . '{/k2vsig}';
$item->text = '{gallery}103-33-North-Templeton-LowRes{/gallery}';
$dispatcher->trigger('onK2PrepareContent', array(&$item, &$params, null));
$gallery2 = $item->text;
echo $gallery2; $mainframe = &JFactory::getApplication();
JPluginHelper::importPlugin('k2', 'gallery');
$dispatcher = &JDispatcher::getInstance();
$item->text = '{gallery}103-33-North-Templeton-LowRes{/gallery}';
$dispatcher->trigger('onK2PrepareContent', array(&$item, &$params, null));
$gallery2 = $item->text;
echo $gallery2;Does anyone know how to get this to work in the template?
Thank you.