i try to make a new PI Module (image gallery with swipping) and i need to have js and css code in the header
i tried:
Code: Select all
function getOutput() {
global $oscTemplate;
$oscTemplate->addBlock('<tester>', 'header_tags');
}i also tried this in _construct() but same result
in template_top.php there is the line:
Code: Select all
echo $oscTemplate->getBlocks('header_tags');any ideas?