[Typo3] [TYPO3] template selector, sub template is reachable but contents not visible

Kraft Bernhard kraftb at gmx.net
Thu Feb 24 14:51:52 CET 2005


Reena wrote:
> plugin.tx_automaketemplate_pi1 {
> 
>  content < plugin.tx_rlmptmplselector_pi1
>  elements {
>    BODY.all = 1
>    BODY.all.subpartMarker = DOCUMENT_BODY
> 
>    HEAD.all = 1
>    HEAD.all.subpartMarker = DOCUMENT_HEADER
>    HEAD.rmTagSections = title
> 
>    TD.all = 1
>    DIV.all = 1
>  }
 > }

You must insert the contentAreaTemplate:

> temp.contentAreaTemplate = TEMPLATE

into some marker in the main-template: i.e:

 > plugin.tx_automaketemplate_pi1 {
 >
 >  content < plugin.tx_rlmptmplselector_pi1
 >  elements {
 >    BODY.all = 1
 >    BODY.all.subpartMarker = DOCUMENT_BODY
 >
 >    HEAD.all = 1
 >    HEAD.all.subpartMarker = DOCUMENT_HEADER
 >    HEAD.rmTagSections = title
 >
 >    TD.all = 1
 >    DIV.all = 1
 >  }
    subparts.div_id_to_insert < temp.contentAreaTemplate
 >  }

greets,
Bernhard
-- 
Kraft Bernhard
MOKKA Medienagentur <http://www.mokka.at>
T: +43 - 1 - 895 33 33 - 50



More information about the TYPO3-english mailing list