[TYPO3-english] tmenuitem if uid isInList

Peter Klein peter at umloud.dk
Thu Jan 8 15:55:21 CET 2009


Hi Bas.

doNotLinkIt doesn't have stdWrap yet, so either wait for 4.3, or
install this patch.
http://bugs.typo3.org/view.php?id=7922

--
Peter Klein

On Thu, 08 Jan 2009 14:37:56 +0100, Bas van der Togt
<bas.vander.togt at efocus.nl> wrote:

>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