Module: add html in the header or footer

Hello everybody!

I am developing a module and it has to add css, js and html tags in the header and the footer of all pages.

I tried:

 global $oSysTemplate;

$oSysTemplate->addCss(array('test1.css', 'test2.css'));

(test1.css and test2.css are in /modules/me/mymodule/templates/base/css)

In the module class of my module and then in the installer but it did not work . 

I also noticed that my class is not loaded, (if I put a var_dump it appears nowhere)

Am I the only one with this issue?

Quote · 6 Sep 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.