[TYPO3] how to substitute a template.file in an extensiontemplate?

Katja Lampela katja.lampela at lieska.net
Sun Oct 28 07:34:09 CET 2007


So the solution - to pass the definitions of the html markers to another 
template automatically - would be to put them under page object as 
subparts or marks or at least refer to the lib/temp objects as subparts 
or marks in the main template..?

like:


page.10 = TEMPLATE
page.10.marks.PAGE_UID = TEXT
page.10.marks.PAGE_UID.field = uid
page.10.template.file = fileadmin/templates/file1.htm
page.10  {
   workOnSubpart = DOCUMENT_BODY
   subparts.content < styles.content.get

marks.search < plugin.tx_macinasearchbox_pi1 // or < tt_content.search.30

//and the other subparts and marks definitions here

}

I think  this way you should be able to change only the template file 
with one row in the other templates:
page.10.template.file = fileadmin/templates/file2.htm



Jan Bednarik kirjoitti:
> Hi,
>
>> the temp markers are gone too. Maybe you should use "lib" type or 
>> create the 
>
> you mean that
>
> lib = TEXT
> page.10.subpart.PART < lib
>
> is somehow different than
>
> temp = TEXT
> page.10.subpart.PART < temp
>
> I don't think so.
>


More information about the TYPO3-english mailing list