[TYPO3-english] doNotLinkIt override not working for second level

Bas van der Togt b.vandertogt at profinit.com
Sat Feb 21 18:17:54 CET 2009


That's right, but it's working correctly if i put it in level 1.
Does anybody know why this is not working in level 2?

best ragards,
bas

StephenBungert schreef:
> Isn't doNotLinkIt just a boolean switch?I don't think you can do this then:
> 			doNotLinkIt = 0
> 			doNotLinkIt {
> 				override = 1
> 				override.if.isTrue.field = nav_hide
> 			}
> 
> 
> Bas van der Togt-2 wrote:
>> Hello list,
>>
>> In the following menu i build an if statement for doNotLinkIt  on level 
>> 2 (if.isTrue.field = nav_hide). However this does work in level 1 but 
>> not in level 2. Is this a bug?
>>
>> best regards,
>> Bas
>>
>> obj.nav.20 = HMENU
>> obj.nav.20 {
>> 	
>> 	includeNotInMenu = 1
>> 	special = list
>> 	special.value = 98,97,96,95,94
>>
>> 	1 = TMENU
>> 	1 {
>> 		expAll = 1
>> 		noBlur = 1
>> 		
>> 		NO = 1
>> 		NO {
>> 			wrapItemAndSub = <li class="regio">|</li>
>> 			allWrap = <h3>|</h3>
>> 			doNotLinkIt = 1
>> 		}
>> 		
>> 		ACT < .NO
>> 	}
>>
>> 	2 = TMENU
>> 	2 {
>> 		expAll = 1
>> 		wrap = <ul>|</ul>
>> 		noBlur = 1
>> 		
>> 		NO = 1
>> 		NO {
>> 			subst_elementUid = 1
>> 			doNotLinkIt = 0
>> 			doNotLinkIt {
>> 				override = 1
>> 				override.if.isTrue.field = nav_hide
>> 			}
>> 			allWrap = <li>|</li>
>> 			allWrap {
>> 				override = <li> javascript:showpopup({elementUid}); | </li>
>> 				override.if.isTrue.field = nav_hide
>> 			}
>> 		}
>> 		
>> 		ACT < .NO
>> 	}
>> }
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>>
> 
> 
> -----

> Isn't doNotLinkIt just a boolean switch?I don't think you can do this then:
> 			doNotLinkIt = 0
> 			doNotLinkIt {
> 				override = 1
> 				override.if.isTrue.field = nav_hide
> 			}
> 
> 
> Bas van der Togt-2 wrote:
>> Hello list,
>>
>> In the following menu i build an if statement for doNotLinkIt  on level 
>> 2 (if.isTrue.field = nav_hide). However this does work in level 1 but 
>> not in level 2. Is this a bug?
>>
>> best regards,
>> Bas
>>
>> obj.nav.20 = HMENU
>> obj.nav.20 {
>> 	
>> 	includeNotInMenu = 1
>> 	special = list
>> 	special.value = 98,97,96,95,94
>>
>> 	1 = TMENU
>> 	1 {
>> 		expAll = 1
>> 		noBlur = 1
>> 		
>> 		NO = 1
>> 		NO {
>> 			wrapItemAndSub = <li class="regio">|</li>
>> 			allWrap = <h3>|</h3>
>> 			doNotLinkIt = 1
>> 		}
>> 		
>> 		ACT < .NO
>> 	}
>>
>> 	2 = TMENU
>> 	2 {
>> 		expAll = 1
>> 		wrap = <ul>|</ul>
>> 		noBlur = 1
>> 		
>> 		NO = 1
>> 		NO {
>> 			subst_elementUid = 1
>> 			doNotLinkIt = 0
>> 			doNotLinkIt {
>> 				override = 1
>> 				override.if.isTrue.field = nav_hide
>> 			}
>> 			allWrap = <li>|</li>
>> 			allWrap {
>> 				override = <li> javascript:showpopup({elementUid}); | </li>
>> 				override.if.isTrue.field = nav_hide
>> 			}
>> 		}
>> 		
>> 		ACT < .NO
>> 	}
>> }
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>>
> 
> 
> -----


More information about the TYPO3-english mailing list