What is the correct way to access template parameters in components template in Joomla 2.5?
There are something implementations for earlier versions of Joomla but not for 2.5. http://forum.joomla.org/viewtopic.php?p=2166990#p2166903
I think this might be what you're looking for:
$app = JFactory::getApplication();
$template = $app->getTemplate(true);
$params = $template->params;
$variable = $params->get('variable');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With