[TYPO3-english] tmenuitem if uid isInList

Bas van der Togt bas.vander.togt at efocus.nl
Thu Jan 8 14:37:56 CET 2009


Hello list,

I'm trying to add the option doNotLinkIt=1 to my tmenuitem only when the 
uid is in the comma seperated list. I have the following code but that's 
not working. Any idea?

obj.nav = HMENU
obj.nav {
	
	1 = TMENU
	1 {
		expAll = 1
		wrap = <ul class="nav">|</ul>
		noBlur = 1
		
		NO = 1
		NO {
			wrapItemAndSub = <li>|</li>
			doNotLinkIt.if {
				isInList.field = uid
				value = 87,86,85,84,83
			}			
		}

		ACT < .NO
		ACT {
			wrapItemAndSub = <li>|</li>
			#ATagParams = class="selected"
		}
	}
}

Best regards,
Bas


More information about the TYPO3-english mailing list