I am attempting to make a layout change that when a page in the backend loads that i can hide a few buttons, but i cannot seem to make my layout update trigger. following is my current code. Right now i am not concerned with the functionality of the block itself, only that my layout loads.
config.xml
<config>
<modules>
<Mysite_Buttonhide>
<version>0.1.0</version>
</Mysite_Buttonhide>
</modules>
<adminhtml>
<layout>
<updates>
<buttonhide>
<file>buttonhide.xml</file>
</buttonhide>
</updates>
</layout>
</adminhtml>
<global>
<blocks>
<Buttonhide>
<class>Mysite_Buttonhide_Block</class>
</Buttonhide>
</blocks>
</global>
</config
buttonhide.xml which is located in app->design->adminhtml->default->default->layout->buttonhide.xml
<adminhtml_sales_order_view>
<reference name="content">
<remove name="sales_order_edit"/>
</reference>
</adminhtml_sales_order_view>
Wrap the content of your button.xml file in
and you should be fine.