[Typo3] TMENU question

Bernhard Kraft kraftb at kraftb.at
Sat Jul 30 10:20:04 CEST 2005


Joseph Mesterhazy wrote:
>     wrap.dataWrap = <ul id="{field:pid}">|</ul>  // this isn't working
>     NO = blah blah..
> }

This will produce invalid HTML ... as every page can have more than one child
there will be more than one id with the same value ...


> I am trying to mark the second level <ul> with the ID of its parent,  
> for later use in javascript.

But try:

id="{page:pid}"

greets,
Bernhard



More information about the TYPO3-english mailing list