CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Feature #6019

Multiple master templates

Added by Reinhard Führicht over 3 years ago. Updated over 2 years ago.

Status:Closed Start date:2010-01-14
Priority:Should have Due date:
Assignee:Reinhard Führicht % Done:

100%

Category:Code and Architecture
Target version:Beta 3 (v0.9.5)
Votes: 0

Description

It would be cool to be able to define multiple master templates.

masterTemplates {
  1 = fileadmin/templates/ext/formhandler/globalMasterTemplate.html
  2 = fileadmin/templates/ext/formhandler/specificMasterTemplate.html
}

This way you can override the fields from the first master template with specific settings.

History

Updated by Reinhard Führicht over 3 years ago

  • Target version set to Beta 3 (v0.9.5)

Updated by Reinhard Führicht over 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Committed to trunk.
Also slight enhancement for langFile setting.

The following settings are valid:

masterTemplate = ...

or

masterTemplate = TEXT
masterTemplate.value = ...

or

masterTemplate {
  1 = ...
  2 = TEXT
  2.value = ...
}

"TEXT" can be any cObject.
The same is valid for "langFile".

Also available in: Atom PDF