[TYPO3] HMENU CURIFSUB ??

Aji Johannes aji.yahya at gmail.com
Sun Oct 8 13:54:37 CEST 2006


Aji Johannes schrieb:
> Tapio Markula schrieb:
>> Aji Johannes kirjoitti:
>>> Aji Johannes schrieb:
>>>> Hallo List,
>>>> i have a special menu and i want to make something like this:
>>>>
>>>>
>>>>     NO{
>>>>         linkWrap = <li>|</li>
>>>>     }
>>>>     ACT < .NO
>>>>     ACT = 1
>>>>     ACT{
>>>>         linkWrap = <li>|</li>
>>>>     }
>>>>                 CURIFSUB < .NO
>>>>     CURIFSUB  = 1
>>>>     NO.doNotShowLink=1
>>>>         NO.doNotLinkIt=1
>>>>     CURIFSUB{
>>>>             linkWrap = <li>|</li>
>>>>     }
>>>>
>>>> when i click on level 2 if the menu point have sub menu ,should hide 
>>>> another points of the same level. like this:
>>>>
>>>>
>>>> -menu 1 (ACT)
>>>>   -menu 1.2(ACT)
>>>>     -menu 1.2.1
>>>>     -menu 1.2.2
>>>>     -menu 1.2.3
>>>>   -menu 1.3
>>>>   -menu 1.4
>>>> -menu 2
>>>> -menu 3
>>>>
>>>> and want to make it like this:
>>>>
>>>> -menu 1 (ACT)
>>>>   -menu 1.2(ACT)
>>>>     -menu 1.2.1
>>>>     -menu 1.2.2
>>>>     -menu 1.2.3
>>>>
>>>> -menu 2
>>>> -menu 3
>>>>
>>>> if you see the -menu 1.3 -menu 1.4 are hided because  -menu 1.2 is 
>>>> active.
>>
>>
>> CURIFSUB < .NO
>>  >>     CURIFSUB  = 1
>>
>> You must activate *first*
>>
>>  ACT < .NO is *nonsense*
>> CURIFSUB < .NO is *nonsense*
>>
>> if you don't have set NO=1
>> You can't copy properties for state, which is not active!
>> Endeed you have define afterward wrap for CURIFSUB
>>
>> Put always NO=1,
>> when copy works always ok.
> Hello Tapio
> thank you for your answer
> i do something like this but it is not working too. it is activating 
> only the level in navigation who have sub
> 
> 
> lib.navigation.2 = TMENU
> lib.navigation.2{
> wrap = <ul class="ebene-2">|</ul></li>
>        NO = 1
>     NO{
>         linkWrap = <li class="ebene-2-NO">|</li>
>     }
>     
>     ACT < .NO
>     ACT = 1
>     NO = 1
>     NO.doNotShowLink = 0
>     ACT{
>         linkWrap = <li class="ebene-2-ACT">|</li>
>     }
>     
>     
>     
>     IFSUB  < .NO
>     NO = 1
>     IFSUB = 1
>     NO.doNotShowLink = 0
>     IFSUB{
>     
>         linkWrap = <li class="ebene-2-NO">|</li>
>     }
>     CURIFSUB < .NO
>     CURIFSUB = 1
>     NO = 1
>     NO.doNotShowLink = 1
>     CURIFSUB{
>            linkWrap = <li class="ebene-2-ACT">|</li>
>     }
>     
> }
> 
> or may be i didnt understand your solution, please if i do wrong, tell 
> me the right way.
> thanks for your help
> 
> Johannes
Any help plz ???
im getting crazy



More information about the TYPO3-english mailing list