[Typo3] Current menu item on top (first in the list)

JoH info at cybercraft.de
Mon Sep 5 23:45:35 CEST 2005


> I would like to get the current (ACT) menu item on top of the menu
> list. Could someone give me a hint where should I look for
> configuration options to get this?
> Thanks in advance.

1. idea:
Use CSS classes for the different item states.
Then you can use CSS positioning to "move" the item to the top.

2. idea:
Set the ACT state to "doNotShowLink=1" and create the item as a separate
part of a COA.

temp.whatever = COA
temp.whatever {
    10 = TEXT
    10.data = leveltitle:-1
    10.typolink.parameter.data = leveluid:-1
    20 = HMENU
    20 {
        blah
        NO = 1
        NO {
            blah
        }
        ACT < .NO
        ACT {
            doNotShowLink = 1
        }
    }
}

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-english mailing list