[TYPO3] Unique wrap based on menuitem pid
James Corell
jcorell at e-p-c-s.com
Mon Jul 9 20:33:04 CEST 2007
I did some more experimental work with this, and discovered two things:
1) wrapItemAndSub doesn't seem to allow .if statements
2) equals.field = uid doesn't work
I'm using "wrap" now, but any ideas on what other equality statements I
could use to test the uid of the current menuitem?
-------------------------
James Corell
EPCS, 111 W. Mitchell St. Suite E, Gaylord, MI 49735
DSL for Businesses - Websites That Work!
jcorell at e-p-c-s.com www.e-p-c-s.com
989-732-1366 (fax 989-732-0893)
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de]On Behalf Of Tapio
Markula
Sent: Saturday, July 07, 2007 2:59 AM
To: typo3-english at lists.netfielders.de
Subject: Re: [TYPO3] Unique wrap based on menuitem pid
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
_______________________________________________
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