Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default 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

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

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

  3. #3
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Change sort order of Admin > Configuration menu?

    Sorry for the bump - any clues??

  4. #4
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Change sort order of Admin > Configuration menu?

    [SOLVED]

    Looked into the wrong file

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

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default 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.

  6. #6
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Change sort order of Admin > Configuration menu?

    Quote Originally Posted by DrByte View Post
    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.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default 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.

  8. #8
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default 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

  9. #9
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default 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.

 

 

Similar Threads

  1. v154 Admin Configuration Menu items change with language selected
    By David R in forum Upgrading to 1.5.x
    Replies: 5
    Last Post: 25 Jun 2015, 08:39 AM
  2. Horizontal Drop Menu sort order of mega-menu
    By familynow in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 19 Oct 2011, 04:39 PM
  3. Changing sort order in admin - no change in online cart
    By DocRocks in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 3 Feb 2009, 05:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg