It looks to me (though I may be wrong) that you need to create an instance the JParameter object for which get() is a method.
Try this:
$app = JFactory::getApplication('site');
$template = $app->getTemplate(true);
$templateParams = new JParameter($template->params);
$param = $ templateParams ->get('paramName', defaultValue);
Hope that helps
Best
Keith
any other idea?
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
Glad you found a solutions..