1

How to show image beside admin menu item? below is the code where i need to add image inside <title>

`

<config> <menu> <custommodule module="module" translate="title"> <title> <img src="src"/> custom menu</title> </custommodule> </menu> </config> 

1 Answer 1

1

Magento does not allow images in the admin menu by default.
You need to rewrite the method Mage_Adminhtml_Block_Page_Menu::_buildMenuArray and either allow an image tag, or add a class to each menu item depending on the module name or menu url and do your magic via css.

1
  • how can i allow images...? Commented Sep 7, 2016 at 11:16

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.