Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
How to sort the indexmenu ?
Avatar
Sop #1
Member since Sep 2007 · 2 posts · Location: Paris
Group memberships: Members
Show profile · Link to this post
Subject: How to sort the indexmenu ?
Hello,

I've read everything I could find on Indexmenu and indexmenu2 and could not find the answer to my problem.
I would like to sort the index tree on the left pane the way I want. The msort option works only on pages but not on namespaces.

For example,

Root                   
  - April           
  - February     
  - March   
 
==> should be displayed

Root
  - February
  - March
  - April

Any idea ?
Thanks in advance
Sophie
Avatar
pchan #2
Member since Apr 2007 · 111 posts · Location: Lille, France
Group memberships: Members
Show profile · Link to this post
Hi,
Computers are quite stupid at times, your problem also occurs if you want to sort your items e.g. files in the file explorer, songs in your mp3 directory, ...

The typical solution is to put a number in front of your names, so you get:
Root
- 2February
- 3March
- 4April

And if you have more tens or hundreds of items, and not wanting to use letters in front of your names (like ANovember, BDecember...), you normally use two digits:

Root
- 02 February
- 03 March
- 04 April
...
- 10 October
- 11 November
- 12 December

The extra space added makes reading easier.

et voilà !

Cheers.
Avatar
Sop #3
Member since Sep 2007 · 2 posts · Location: Paris
Group memberships: Members
Show profile · Link to this post
Hello,

Thanks for your reply. I thought about using numbers but thought it was not really easy to maintain.

Does anyone have any other idea ?

Cheers
Sophie
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-08-23, 15:36:15 (UTC +02:00)