Modules in use on current page
Posted: Mon Jul 13, 2009 8:15 am
Hi all,
Is there any possibility to find out (with PHP or better Smarty), which modules are in use on the current page (something like an array)?
I want to load some special Javascript and CSS in the head of a page, depending on the used modules, but my clients doesnt know about HTML, Metatags and so on. So I look for a possibility to load some JS/CSS Code automatically, but only the needed code for a page. To load all JS/CSS code on every page would be quite heavy ...
Thanks for your help.
Is there any possibility to find out (with PHP or better Smarty), which modules are in use on the current page (something like an array)?
I want to load some special Javascript and CSS in the head of a page, depending on the used modules, but my clients doesnt know about HTML, Metatags and so on. So I look for a possibility to load some JS/CSS Code automatically, but only the needed code for a page. To load all JS/CSS code on every page would be quite heavy ...
Thanks for your help.