[TYPO3-german] Hilfe zu rlmp_templateselector

Anselm Cosler typo3 at cosler.de
Sun Jan 1 14:59:15 CET 2006


Fabian Raschke schrieb:
> Hallo,
> 
> ich benötige Hilfe für die Extension rlmp_templateselector
> 
> Die gängigen Anleitungen beziehen sich alle auf die Nutzung der 
> Extension Automaketemplate. Da ich diese nicht nutze sondern 
> "altmodisch" die Templates entwickele komme ich mit dem Typoscript nicht 
> klar:
> 
> #### SUB TEMPLATE ####
> 
> temp.contentAreaTemplate = TEMPLATE
> temp.contentAreaTemplate {
> template < ???????????????????????????????
> template.templateType = sub
> workOnSubpart = DOCUMENT_BODY
> subparts.SUB_TEMPLATE_CONTENT = TEXT
> subparts.SUB_TEMPLATE_CONTENT.value = Ausgabetext (Test)
> }
> 
> 
> #### MAIN TEMPLATE ####
> 
> temp.mainTemplate = TEMPLATE
> temp.mainTemplate {
> template = ?????????????????????????????????
> workOnSubpart = DOCUMENT_BODY
> subparts.SUB_TEMPLATE_AREA < temp.contentAreaTemplate
> }
> 
> seite.10 = ????????????????????????????????
> 
> 
> Kann mir jemand sagen, wie das geht?
> 
> Guten Rutsch :-)
> 
> Fabian


Hallo Fabian!

Ist schon einige male behandelt worden!
Anbei ein Auszug aus meiner Konfiguration.
Hoffe es hilft.
Gruss
Anselm

temp.contentAreaTemplate:
Setup:



temp.contentAreaTemplate = TEMPLATE

temp.contentAreaTemplate {

template = FILE

template <plugin.tx_rlmptmplselector_pi1

template.relPathPrefix = fileadmin/template/sub/

template.templateType = sub



workOnSubpart = DOCUMENT



marks.COL_50_LEFT < styles.content.getLeft

marks.COL_50_RIGHT < styles.content.get



marks.COL_30_LEFT < styles.content.getLeft

marks.COL_60_RIGHT < styles.content.get



marks.COL_80_LEFT < styles.content.getLeft

marks.COL_20_BORDER < styles.content.getBorder





marks.COL_NORMAL < styles.content.get



}



tpl.main:

Setup:



###################################################

#Disable all Header Code

config.disableAllHeaderCode = 0

###################################################



config.additionalHeaders = <meta http-equiv="Content-Type" 
content="text/css; charset=utf-8" />



###############################################

#enable/disable admin-panel in frontend

config.admPanel = 0

###############################################

plugin.tx_rlmptmplselector_pi1.templateType = main

plugin.tx_rlmptmplselector_pi1.templatePathMain = fileadmin/template/main/

plugin.tx_rlmptmplselector_pi1.templatePathSub = fileadmin/template/sub/

plugin.tx_rlmptmplselector_pi1.defaultTemplateFileNameMain = main1.html

plugin.tx_rlmptmplselector_pi1.defaultTemplateFileNameSub = sub_50_50.html

plugin.tx_rlmptmplselector_pi1.inheritMainTemplates = 1

plugin.tx_rlmptmplselector_pi1.inheritSubTemplates = 1

#######################################################

page.10 = TEMPLATE

page.10 {

template = FILE

template <plugin.tx_rlmptmplselector_pi1

template.relPathPrefix = fileadmin/template/main/

workOnSubpart = DOCUMENT





marks.CONTENTSECTION < temp.contentAreaTemplate

}




More information about the TYPO3-german mailing list