I have been trying to get this right for a bit, but when I look at the adminhtml_head
block I see that it extends off the html_head
block. I have extended the html_head
block so that I could add a cdn item. It works just fine on the front when I adjust the layout xml, but when I adjust the layout xml for the back end it skips over extended class, so the overwrite doesn't work. Basically what I've done is test it by added a javascript to the adminhtml/page_head and that works using the normal add_js
type. But when I go to use the cdn_js
type, since it's not hitting my method, it just skips it.
Is there any reason that the admin would not be picking up my over write even thou both the admin end up extending off the core Mage_Page_Block_Html_Head
?
In my config I have this
<blocks>
<page>
<rewrite>
<html_head>Wsu_Storeutilities_Block_Html_Head</html_head>
</rewrite>
</page>
</blocks>
Which works for the front. I have tried many different combinations to get the adminhtml to pick up as well with no luck.