Add Header Item to view template
Permalink 1 user found helpful
What is the proper method to addHeaderItem from within a block template.
I want to be able to change the addHeaderItem base on the template selected.
I want to be able to change the addHeaderItem base on the template selected.
only way I know if view.js and view.css
example:
all of this is for the autonav block but can be used for any blocks
/blocks/autonav/templates/<templatename>/
thats the folder in it is the view.php,
make 2 more folders (optional) one called js the other css, anything put in those folders will be autoloaded into the header.
all of this is for the autonav block but can be used for any blocks
/blocks/autonav/templates/<templatename>/
thats the folder in it is the view.php,
make 2 more folders (optional) one called js the other css, anything put in those folders will be autoloaded into the header.
Thanks That worked.