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

Change sort order of Admin > Configuration menu?

Locked

Started by frank18 on 15 Aug 2010, 8:27 AM · 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

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

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

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

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??

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

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:

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

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

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

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.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

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

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

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.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

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

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

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.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.