Zen Cart Logo
Forums / General Questions / Change sort order of Admin > Configuration menu?

Change sort order of Admin > Configuration menu?

Locked

Views: 2,124

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
15 Aug 2010, 8:27 AM
#1
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Change sort order of Admin > Configuration menu?

I understand the drop down menu for Admin > Configuration is sorted in gID order.

Can this be changed to an alpha sort order?

I believe the file YOUR_ADMIN/configuration.php is responsible for the display of the menu sort order. Line 128 of this file reads

order by sort_order");

Am I on the right track?

TIA

Frank

16 Aug 2010, 9:21 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Change sort order of Admin > Configuration menu?

I may need to clarify the objective of my first post in this thread.

As per default the Admin > Configuration menu displays headers in this order

My Store
Minimum Values
Maximum Values
Images
Customer Details
Shipping/Packaging
Product Listing
Stock
etc
etc

I am looking for a way to display the headlines in alphabetical order.

Any ideas or hints anyone?:lookaroun

17 Aug 2010, 9:07 AM
#3
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Change sort order of Admin > Configuration menu?

Sorry for the bump - any clues??

18 Aug 2010, 4:01 AM
#4
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Change sort order of Admin > Configuration menu?

[SOLVED]

Looked into the wrong file:bangin:

open admin/includes/boxes/configuration_dhtml.php and change the order by clause there, and now the menu displays titles in alphabetical order:smartalec:

18 Aug 2010, 4:37 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Change sort order of Admin > Configuration menu?

Something to consider: by doing that you now make any existing documentation no longer match what's shown in your menu.

18 Aug 2010, 5:02 AM
#6
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Change sort order of Admin > Configuration menu?

DrByte:

Something to consider: by doing that you now make any existing documentation no longer match what's shown in your menu.

Sorry Dr Byte, I don't get that. Any clarification would be appreciated.

18 Aug 2010, 5:15 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Change sort order of Admin > Configuration menu?

You've changed the order of menu options. So any picture-based instructions of what to select on that menu are no longer correct. ie: the admin manual/book, etc.

18 Aug 2010, 6:23 AM
#8
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Change sort order of Admin > Configuration menu?

Thanks. That sure is a consideration for anyone who is new to Zen Cart.

Personally, it does not worry me. My objective was to set an alpha order into that menu to speed up finding what I am looking for.

Thanks again

18 Aug 2010, 6:25 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Change sort order of Admin > Configuration menu?

Understood.
I'm just adding discussion for the sake of reminding others who read the discussion to be careful about making similar changes which might result in confusion if they weren't thinking of the bigger picture.

If it suits your needs and you're the only one using it, naturally you can customise it as you wish.