Add button in any admin page in magento http://t.co/e1kBR9cG #magento
It is very simple to add a new button in an admin page. In this tutorial I use the product grid page for example. You need to know how to overwrite modules in magento to understand this tutorial. First you have to find out the right block to overwrite. There are many ways to do this. We have a product block so it will probably be found under app/code/core/Mage/Adminhtml/Block/Catalog/Product. There are a few php-files. Grid.php is the one we’re searching for. If you want to edit the product edit page then you have to modify the Edit.php. Simple, isn’t it? If you found your block, overwrite it. Open the config.xml of your custom module and use the following code:
Link – Trackbacks
source: Topsy – magento tutorial – Tutorial-Portal.com – Add button in any admin page\”
↧
Tutorial-Portal.com – Add button in any admin page
↧