[TYPO3] Unique wrap based on menuitem pid
Tapio Markula
tapio.markula at xetpoint.fi
Sat Jul 7 08:59:04 CEST 2007
James Corell:
>
> THIS_SITE.menuLeft.1 = TMENU
> THIS_SITE.menuLeft.1 {
> expAll = 1
> IFSUB = 1
> IFSUB.doNotLinkIt = 1
> IFSUB.wrapItemAndSub = <div class="menuleft-no1"> | </div>
> NO.wrapItemAndSub = <div class="menuleft-no1"> | </div>
> }
>
> I ought to be able to do something like this:
>
> NO.wrapItemAndSub = <div class="menuleft-no1" onClick="return
> submitForm();"> | </div>
> NO.wrapItemAndSub.if {
> value = 400
> equals.field = the_name_of_the_variable_that_holds_the_menuitem_pid
> }
>
> and have the wrap only affect PID 400. But what is
> "the_name_of_the_variable_that_holds_the_menuitem_pid"? And will this work?
uid - you could use phpMyAdmin to look field names
More information about the TYPO3-english
mailing list