[TYPO3-english] including tt_content in templavoila template

Daniel Huf dhuf at cross-systems.com
Fri Sep 4 15:25:13 CEST 2009


I don't know if I understood well, but this is what I use on a sysfolder

CONSTANT
# cat=baseText/chtml/a; type=int; label=content page ID
lib.page.content.folder.pid = 312

SETUP

lib.page.content.folder = CONTENT
lib.page.content.folder {
	table = tt_content
	select.max = 4
	select.orderBy = date DESC
	select.pidInList = {$lib.page.content.folder.pid}
	stdWrap.wrap = <div>|</div>
}

and I map lib.page.content.folder in templavoilà.

Hope that might help or at least bring you any further.

Daniel


René van Densen wrote:
> Hi Katja,
> 
> thanks for the tip ! However, I doubt they'll be pleased if I mess with the
> template here, since it can mess up the TemplaVoila mappings. Still, I'll
> try and see if this works in DEV at least...
> (Still, odd that the - many available online - TypoScript instructions,
> similar to the below except with TV mappings, won't work ??)
> 
> Cheers,
> 
> René
> 
> On Thu, Sep 3, 2009 at 10:18 AM, Katja Lampela <katja.lampela at lieska.net>wrote:
> 
>> hi René,
>>
>> Make a marker in the html template (sorry I don't know if and how this
>> applies to TV), say ###MYMARKER###
>>
>> and into your template setup
>> ...page object here
>> marks.MYMARKER = RECORDS
>> marks.MYMARKER.source = 5
>> marks.MYMARKER.tables = tt_content
>> ...
>> and the "5" is the number of the content element record. And make the
>> translation of it and use language or pid in rootline condition (what
>> ever way you have setup your site) and refer to the translation record
>> ir in that.
>>
>> With kind regards
>>
>> Katja Lampela
>> *Lieska-tuotanto
>> * www.lieska.net
>>


More information about the TYPO3-english mailing list