trying to add an include to all pages on site before the HTML tag…
i made a httpdocs/design/themes/basic/templates/addons/my_changes/hooks/index/beforeheader.tpl
i included the hook to index.tpl
/design/themes/basic/templates/index.tpl
but how can i make the php part ? {php} is not valid no more.
Can i push this into another file ?
Describe what you're trying to do versus how to get what you want to be to work.
Generally you would set a template variable to the values from your PHP code from a POST controller like init.post.php.
Then your template hook would use that variablle. But BEFORE html tag? Would make you non-complliant.