Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

magento remove admin menu item

Is it possible, in magento, to remove a menu item in admin?

I have a new module and am pulling the reviews and ratings into a new section. I'm not opposed to leaving them also in the catalog section, but if its possible (and clean) I'd like to nip it out of there.

like image 819
veilig Avatar asked May 18 '11 18:05

veilig


1 Answers

Add next lines to extension config.xml file:

<adminhtml>
   <menu>
      <catalog>
         <children>
            <reviews_ratings>
               <disabled>1</disabled>
            </reviews_ratings>
         </children>
      </catalog>
   </menu>
</adminhtml>

And clear the cache.

like image 107
ToxaBes Avatar answered Nov 15 '22 14:11

ToxaBes