Reputation: 249
Tell me please how can i get the parameters from templateDetails.xml in module template, for example located here: templates/beez3/html/com_content/article/default.php?
I can get this parameters in the index.php file (templates/beez3/index.php), but i want get it in the templates/beez3/html/com_content/article/default.php.
Maybe I incorrectly formulated question. I need to get the style settings of the template which set in the admin panel. How can I get them?
Upvotes: 1
Views: 1342
Reputation: 6770
This
$template = JFactory::getApplication()->getTemplate(true);
will give you the object with the current template parameters.
Upvotes: 2