[TYPO3] template selector

Katja Lampela katja.lampela at lieska.net
Tue Jan 30 11:41:29 CET 2007


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