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

Bas van der Togt bas.vander.togt at efocus.nl
Mon Feb 23 13:50:58 CET 2009


Hi Stephen,

Check the comments in the TS below:

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>
			// This works
			doNotLinkIt = 0
             		doNotLinkIt {
                 		override = 1
                 		override.if.isTrue.field = nav_hide
             		}
		}
		
		ACT < .NO
	}

	2 = TMENU
	2 {
		expAll = 1
		wrap = <ul>|</ul>
		noBlur = 1
		
		NO = 1
		NO {
			allWrap = <li>|</li>
			// This does not work
			doNotLinkIt = 0
             		doNotLinkIt {
                 		override = 1
                 		override.if.isTrue.field = nav_hide
             		}
		}
		
		ACT < .NO
	}
}

best regards,
bas

StephenBungert wrote:
> What exactly "works"? That level one links are not linked?
> 
> 
> 
> Bas van der Togt-2 wrote:
>> doNotLinkIt does work with subproperties {} becauase it's working in 
>> level 1, but not in level 2.
>>
>> Benjamin Mack wrote:
>>> Hey,
>>>
>>> On 21.02.2009 18:17 Uhr, Bas van der Togt wrote:
>>>> 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?
>>> yes! because of that:
>>>  > doNotLinkIt = 0
>>>
>>> That option (boolean) probably doesn't care about the subproperties of 
>>> doNotLinkIt {} .
>>>
>>> All the best,
>>> Benni.
>> _______________________________________________
>> 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