[Typo3] Current menu item on top (first in the list)
Cyprian Kowalczyk
cyprian at pi2.pl
Thu Sep 15 08:10:07 CEST 2005
On Mon, 12 Sep 2005 00:49:11 +0200, JoH <info at cybercraft.de> wrote:
> And another approach:
>
> temp.mymenu = COA
> temp.mymenu {
> wrap = <ul>|</ul>
> 10 = LOAD_REGISTER
> 10 {
> myMenu.cObject = HMENU
> myMenu.cObject {
> 1 = TMENU
> 1 {
> wrap = <li><ul>|</ul></li>
> expAll = 1
> NO = 1
> NO {
> wrapItemAndSub = <li>|</li>
> }
> ACT = 1
> ACT {
> stdWrap.cObject = LOAD_REGISTER
> stdWrap.cObject {
> ACTlinks.field = title
> ACTlinks.typolink.parameter.field = uid
> ACTlinks.dataWrap = {register:ACTlinks}<li class="act">|</li>
> }
> }
> CUR = 1
> CUR {
> wrapItemAndSub = <li>|</li>
> }
> }
> 2 < .1
> 3 < .1
> 4 < .1
> }
> }
> 20 = TEXT
> 20.data = register:ACTlinks
> 30 = TEXT
> 30.data = register:myMenu
> }
>
> Tested and working ...
>
> Joey
>
I'll cehck this out, yet now I have some problems with getting into my
Typo3 installation due some weird htmlArea RTE problems (it's sending some
stuff to the browser to early and then Typo3 can't sand it's headers or
whatever - I've placed a post here.)
Thank you once again.
--
best regards, Cyprian
More information about the TYPO3-english
mailing list