Replace magento admin System / Configuration left nav

simple question. In purple, when you go to System / Configuration in the left navigation there are some main tabs. General, Catalog, Customer, Sales, Advanced, etc.

I wonder what xml set the order for them? I would like to have Advanced somewhere on top.

+4
source share
3 answers

Looking at the Mage / Core / etc / system.xml file, I see this at the top:

<config> <tabs> <general translate="label" module="core"> <label>General</label> <sort_order>100</sort_order> </general> <service translate="label" module="core"> <label>Services</label> <sort_order>99999</sort_order> </service> <advanced translate="label" module="core"> <label>Advanced</label> <sort_order>999999</sort_order> </advanced> </tabs> ... </config> 

I assume (but did not verify) that changing the sort_order parameter in this file will change this order for you.

Hope this helps!

Thanks Joe

+3
source

You need to set them based on a set of attributes by dragging folders up and down in the attribute-attribute manager (in the administrator’s product menu).

enter image description here

0
source

There are two ways to edit tabs on the product edit page, the first few tabs are controlled in the order of the attribute group (as Matthew pointed out). The second piece of tabs is added directly to the code, adding a tab to the block.

Thus, there are two ways to change these tabs.

  • Change the order of attribute groups in the attribute set (using the graphical interface)
  • Extend the Tab block, Core / Mage / Adminhtml / Block / Catalog / Product / Edit / Tabs.php and manually reorder the tabs.

Inside the block, you can also add your own tabs using $ this-> addTab ()

0
source

All Articles