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.

 
12345j replied on at Permalink Reply
12345j
only way I know if view.js and view.css
Mnkras replied on at Permalink Best Answer Reply
Mnkras
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.
aaron replied on at Permalink Reply
Thanks That worked.