Forum Support

Shape 5
March 29, 2024, 12:40:35 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Sorting of items in main menu on mobile version  (Read 437 times)
london
Jr. Member
**
Offline Offline

Posts: 77



« on: December 08, 2011, 03:40:31 AM »

I've noticed that in the mobile version that main menu items are sorted alphabetically and do NOT display according to their order or the same as what they show in the PC version.  Is there any way to change this so that home for example, is always first and not further down the line (according to it's first letter 'H')?

Thank you.
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: December 08, 2011, 08:49:14 AM »

Hello,

It's done that way because drop downs cannot group children under parents, without that it makes it very confusing to find items in the menu.

It's built into the script itself to pull them alphabetically. Anything else would require custom programming. It uses ksort to do this:

ksort($tmparray);
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.