[TYPO3-english] Help with WRAP please

Marcus 'biesior' Biesioroff vsbies at wp.pl
Fri Jan 15 19:10:27 CET 2010


W dniu 2010-01-15 18:21, Sara Weale pisze:
> Dear all,
>
> We wish to wrap a content element (Smart FLV player) but the typoscript
> code doesn't seem to work. Any suggestions as how to what i've done wrong??

ellou' I just tested such code and it was working perfect, copy and try 
it in your TS (do not forget to change pidInList value):

lib.test = CONTENT
lib.test{
   wrap = [A] | [B]
   table = tt_content
   select {
     pidInList = 123
   }
   renderObj = TEXT
   renderObj.field = header
   renderObj.wrap= [C] | [D]
}

// it should return:
// [A] [C] Header 1 [D] [C] Header 2 [D] [B]

-- 
Marcus 'biesior' Biesioroff
a.k.a. Marek Krawczyk (original)

Polish TYPO3 Community Proud Member
http://typo3.pl


More information about the TYPO3-english mailing list