[TYPO3-english] render CONTENT from TS

Tyler Kraft tyler.kraft at netefficiency.co.uk
Thu Jun 3 20:22:21 CEST 2010


In which case this (or something very similar) should do it:

lib.rightColReferences = COA
lib.rightColReferences {
	10<  styles.content.get
	10.select {
	      max = 10
	      orderBy = date DESC
	      pidInList = 28
	  }
	10.renderObj < tt_content
	10.renderObj.stdWrap.wrap = <div id="rightcolReferencesWrap">|</div>
}






Gábor Horn wrote:
> Hi Gregor,
> 
> thanks this is a very elegant solution. In my specific case i need the 
> other way (as i must wrap each content element in a <div>...</div> for 
> some jQuery cycle()-ing) but i'm sure your solution will be very useful 
> for another time!
> 
> regards, Gábor
> 
>> just let CSC do the work for you:
>>
>> lib.rightColReferences = COA
>> lib.rightColReferences {
>>
>>     wrap =<div id="rightcolReferencesWrap">|</div>
>>
>>     10<  styles.content.get
>>     10.select {
>>         max = 10
>>         orderBy = date DESC
>>         pidInList = 28
>>     }
>> }
>>
>> Cheers,
>> Gregor
> 


More information about the TYPO3-english mailing list