[Typo3] Current menu item on top (first in the list)
Cyprian Kowalczyk
cyprian at pi2.pl
Sun Sep 11 17:52:05 CEST 2005
Thank you for the answer.
On Mon, 05 Sep 2005 23:45:35 +0200, JoH <info at cybercraft.de> wrote:
>> 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.
To tell the truth I don't know how something like this should work..
Maybe with positioning a box with menu but not likely - the height of the
top menu may differ, though.
Is there a way to put one tag (say LI) above another:
<li id="this-should-go-down">menu 1</li>
<li id="this-should-be-on-top">menu 2</li>
...using CSS?
> 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
> }
> }
> }
That's the only way probably (I'll check it out).
--
best regards, Cyprian
More information about the TYPO3-english
mailing list