[Typo3] Insert title into wrap

tapio tapio.markula at dnainternet.net
Wed Sep 21 14:30:47 CEST 2005


Dmitrii Dimandt wrote:
> On 9/21/05, Michiel Roos <systeembeheer at meyson.nl> wrote:
> 
>>Look for the post named 'cObject CASE', it might help you.
>>_______________________________________________
> 
> 
> Thank you. Here is what I tried:
> 
> temp.third_menu = HMENU
> temp.third_menu.entryLevel = 2
> temp.third_menu.if.value = treeLevel
> temp.third_menu.if.isGreaterThan = 1
> temp.third_menu.wrap = <div id="item-left"> <h3>{title}</h3> <ul> | </ul> </div>

Title and all page-related fields can bue used 'dataWrap' - see the example

NO =1
   NO.allWrap.dataWrap = <div id="p{field:uid}">|

add the termination tag for some normal wrap.

BTW. How to add 'uid' field value for <body id="page{here the uid value}.
body.pageTage =<body id="page{field:uid}"> is will be printed as such 
without any replplacement.



More information about the TYPO3-english mailing list