[TYPO3] active menu item sort/ display active menu item first

Tomas Mrozek mail at cascaval.com
Wed Jun 11 12:34:38 CEST 2008


Well, it would be good if you could use something like...
alternativeSortingField.dataWrap = (uid={leveluid:1}) DESC, sorting ASC

...which you can NOT.

So, in my opinion, the best option for you is to construct the menu from 
two HMENUs:

subparts.MENU = COA
subparts.MENU.10 = HMENU
subparts.MENU.20 = HMENU

The first one would have "doNotShowLink = 1" set for the normal items of 
the first level (TMENU):
subparts.MENU.10.1.NO.doNotShowLink = 1

The second one would have "doNotShowLink = 1" set for the active items 
of the first level (TMENU):

subparts.MENU.20.1.ACT.doNotShowLink = 1

Tomas Mrozek


More information about the TYPO3-english mailing list