Ermöglicht Redakteuren, aus einem Set vorkonfigurierter Templates zu wählen.
# rlmp_tmplselector Konfiguration plugin.tx_rlmptmplselector_pi1 { // Define the paths leading to our HTML template files templatePathMain = fileadmin/templates/main/ templatePathSub = fileadmin/templates/sub/ // Define the filenames used as the default HTML templates defaultTemplateFileNameMain = default.html defaultTemplateFileNameSub = default.html /* If there is a page having no template selected, use a template selected earlier in the rootline. If there is none, use the default */ inheritMainTemplates = 1 inheritSubTemplates = 1 } # autoparser 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 DIV.all = 1 } relPathPrefix = fileadmin/templates/ } # template cObject BODY: Templates MAIN und CONTENT AREA temp.contentAreaTemplate = TEMPLATE temp.contentAreaTemplate { template =< plugin.tx_automaketemplate_pi1 template.content.templateType = sub # workOnSubpart = DOCUMENT_BODY workOnSubpart = contentwrapper subparts { content < styles.content.get main < styles.content.get sidebar < styles.content.getLeft } } temp.mainTemplate = TEMPLATE temp.mainTemplate { template =< plugin.tx_automaketemplate_pi1 template.content.templateType = main workOnSubpart = DOCUMENT_BODY subparts.menulevel1 < temp.menulevel1 ... subparts.contentwrapper < temp.contentAreaTemplate }