So What I have found is when some Magento extensions are installed they will have etc/system.xml
file with the line in it
<sort_order>100</sort_order>
.
This will compete with the same line in Mage/Core/etc/system.xml
, so the configuration menu under system will be out of order compared to the fresh install order.
The problem is locating and editing all of these XML files. They will all be structured like /etc/system.xml
, but it is too easy to mistake the wrong file and loose track if the wrong file gets mangled (been there, done that).What I did was set up a text search for on specific thing all these files have in common that would not be similar in other /etc/system.xml
files. This would be the <label>General</label>
portion of the XML file. However using the header title may lead to more confusion so I picked the first or second sub menu name. For example on of my extensions is TBT Corp Extension's "Enhanced Product Grid", so the gave me the search <label>Enhanced Product Grid</label>
. The point being I used text that unique to the extension and not in common with other labels.
This gave me the right /etc/system.xml
in /app/code/community/TBT/Enhancedgrid/etc
where I found this;
<tabs>
<tbtall translate="label" module="enhancedgrid">
<label>TBT Corp Extensions</label>
<sort_order>100</sort_order>
</tbtall>
</tabs>
As you can see with the sort order of 100 it will end up near the top of the sort order, so changing it to 300 or greater (301, 400, 401) put things back in order. Doing this systematically throughout my site gave me what I want. I had many of these to do, so perhaps my next step would be a second search and do a command line to make an immutable file chattr +i filename
to add immutable (a minus to undo immutable), so some update will leave them as is or give an install error?
In final some of the extensions had multiple labels under their Title so some had to be found and sorted be the extensions group Title. Also I had to go back to /app/code/core/Mage/ModuleName
and since "General started at '100' and "Catalog" started at '200' and "Customers" started at 300' and so forth, I change them respectively to '100', '102', '103' down the line to put them first. So/app/code/core/Mage/Sales/etc/system.xml
I put is at '104' so it was closer to the original order upon install. Very IMPORTANT would to save a backup right in you folders, but do it like system.xml.backup
and not like backup.system.xml
otherwise Magento will load anything ending in ".xml"
My hope is this not only helps but somewhat of a short guide!