[TYPO3] GEMENU hide level 1 NO

Tapio Markula tapio.markula at dnainternet.net
Thu Mar 23 18:26:32 CET 2006


Bas van der Togt wrote:
> Joey, i can say you are a Typo3 master!
> Thank you very much.
> It's working now!
> 
> Cheers, Bas
> 
> JoH schreef:
> 
>>> It's working but now my ACT state is not working anymore.
>>> This is my code:
>>>
>>> # Menu Left Level 1
>>> temp.MenuLeft = HMENU
>>> temp.MenuLeft.entryLevel = 0
>>> temp.MenuLeft.1 = GMENU
>>> temp.MenuLeft.1.NO {
>>>     allStdWrap.cObject = TEXT
>>> }
>>>
>>> # Menu Left Level 1
>>> temp.MenuLeft.1.ACT < temp.MenuLeft.1.NO
>>> temp.MenuLeft.1.ACT = 1
>>> temp.MenuLeft.1.ACT {
>>> }
>>
>>
>>
>> Well - since you copy the NO state into the ACT state you have to 
>> clear that
>> parameter there.
>>
>> temp.MenuLeft.1.ACT {
>>     allStdWrap >
>> }
>>
>> Joey
>>
That seems a little bit complicated

I have done at this way:

NO = 1
   NO.allWrap.dataWrap = <div id="link{field:uid}">|
   NO.ATagBeforeWrap = 1
   NO.stdWrap.htmlSpecialChars = 1
   NO.doNotShowLink=1
   NO.doNotLinkIt=1

     # Enable active state and set properties:

   ACTIFSUB < .NO
   ACTIFSUB.allWrap = <div class="menu2-level1-act menu2-level1-first "> 
| </div></div> |*| <div class="menu2-level1-act"> | </div></div> |*|<div 
class="menu2-level1-act menu2-level1-last "> | </div></div>
   ACTIFSUB.linkWrap = <span class="act">|</span>
   ACTIFSUB.doNotShowLink=0
   ACTIFSUB.doNotLinkIt=0

That is for TMENU - does GMENU behave differently with
   NO.doNotShowLink=1
   NO.doNotLinkIt=1




More information about the TYPO3-english mailing list