[TYPO3] template selector
Bas van der Togt
b.vandertogt at profinit.com
Tue Jan 30 19:50:40 CET 2007
Yes true i wrote my code wrong.
Does anybody have an example TS code for template selector without
automaketemplate for me?
cheers,
Bas
Katja Lampela schreef:
> Hi,
> I'm truly not an expert (far from it :) on this but maybe you could try:
>
> content template:
> ###DOCUMENT_BODY###
> ###CONTENT###
> ###DOCUMENT_BODY###
>
> Katja
>
> Bas van der Togt wrote:
>> Hello list,
>>
>> I have a question about template selector. I've search the internet for
>> hours but can't get it work.
>>
>> I don't use automaketemplate!
>>
>> The 'normal template' is working but the 'content template' not.
>> Which markers do i have to put in my normal and content templates to get
>> the content template working? Maybe somebody has a example...
>>
>> My TS code:
>> # Site
>> page = PAGE
>> page.10 < temp.template
>> page.10 < plugin.tx_rlmptmplselector_pi1
>> temp.template = TEMPLATE
>> temp.template {
>> template < plugin.tx_rlmptmplselector_pi1
>> workOnSubpart = DOCUMENT_BODY
>> }
>> page.10.marks.CONTENT = CONTENT
>>
>> My normal template:
>> ###CONTENT_BODY###
>> ###CONTENT###
>> ###CONTENT_BODY###
>>
>> My content template:
>> ###CONTENT_BODY###
>> ###CONTENT###
>> ###CONTENT_BODY###
>>
>> Any help would be great!
>> cheers,
>> Bas
More information about the TYPO3-english
mailing list