[TYPO3-UG Italy] Problema con Template Selector

maciej siwanowicz mjbrain86 at gmail.com
Tue Dec 6 13:40:18 CET 2011


Ciao a tutti, non riesco a configurare template selector, seguo tutti i
passi del manuale ma quando entro in page>extended il menù a tendina del
template non mi visualizza i miei template, qualcuno di voi ha avuto un
problema simile?
Qui di seguito vi incollo il setup

plugin.tx_rlmptmplselector_pi1 {
templateType = main
templatePathMain = fileadmin/templates/main/
templatePathSub = fileadmin/templates/sub/
defaultTemplateFileNameMain = main_templ.html
defaultTemplateFileNameSub = templ_sub.html
}

### Configuration of the auto template parser: ###
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/main/
}

### Prefix all relative paths with the value:
plugin.tx_automaketemplate_pi1.relPathPrefix=fileadmin/templates/

### cObject for header ###
temp.headerTemplate = TEMPLATE
temp.headerTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_HEADER
}

### cObject for body ###
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_BODY
subparts.navbar < lib.mainMenu
subparts.logo_holder < temp.logoLink
subparts.subnavigation = TEXT
subparts.subnavigation.value = area for subnavigation and metas
subparts.coldx < lib.newsLatest
subparts.guestbook < plugin.tx_vxxajaxshoutbox_pi1
subparts.content < styles.content.get
subparts.contentFooter = TEXT
subparts.contentFooter.value = Burning Team Copyright
}

## Create page ###
page = PAGE
page.typeNum = 0
page.noLinkUnderline = 0
page.headerData.10 < temp.headerTemplate
page.10 < temp.mainTemplate
page.10 < plugin.tx_rlmptmplselector_pi1


More information about the TYPO3-UG-Italy mailing list