Is there any possibility to hide a menu related to a custom module in the admin side when the custom module is deactivated using the system config options written in the system.xml of the magento.
Please anyone help me.
adminmagento-1.8menumodulesystem.xml
Is there any possibility to hide a menu related to a custom module in the admin side when the custom module is deactivated using the system config options written in the system.xml of the magento.
Please anyone help me.
Best Answer
As mentioned in comments to OP question, this is a duplicate of Possible to hide admin menu if custom module is disabled?
but placed as answer to respond to OP's comments.
You will place the
<depends>
in the menu item configuration, as such:(code example taken from ecomdev's post mentioned in the noted duplicate answer)