Remove Add New Button from admin

Posted: January 23, 2010 in Magento, Version 1.3.*

Hello all.

If you want to Remove “Add New” Button from Admin in a particular Module.
then go to block file of the module
in “__construct()” function
after parent::__construct(); statment
add this line – $this->removeButton(‘add’);

this will remove “Add New” Button from the grid…
Thanks All

— Bijal Bhavsar 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s