########################
# TEMPLATE SELECTOR #
########################
plugin.tx_rlmptmplselector_pi1 {
templatePathMain = fileadmin/templates/wmlt/html/main/
templatePathSub = fileadmin/templates/wmlt/html/sub/
#Define the filenames used as the default HTML templates
defaultTemplateFileNameMain = content.html
defaultTemplateFileNameSub = ContentNormal.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
# Here we define which elements in the HTML that
# should be wrapped in subpart-comments:
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
DIV.all = 1
TD.all = 1
p.all = 1
}
}
########################
# HEADER CONTENT #
########################
# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template < plugin.tx_automaketemplate_pi1
# Select only the content between the <head>-tags
workOnSubpart = DOCUMENT_HEADER
}
########################
# SUB CONTENT #
########################
temp.contentAreaTemplate = TEMPLATE
temp.contentAreaTemplate {
template < plugin.tx_automaketemplate_pi1
#Modify the template selector config: This is a sub template!
template.content.templateType = sub
workOnSubpart = DOCUMENT_BODY
subparts.colNormal < styles.content.get
subparts.colRight < styles.content.getRight
subparts.colLeft < styles.content.getLeft
}
########################
# MAIN CONTENT #
########################
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template < plugin.tx_automaketemplate_pi1
#Modify the template selector config: This is a sub template!
template.content.templateType = main
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY
# Substitute the ###content### subpart with some example content:
subparts.CONTENT < temp.contentAreaTemplate
}
############################
# PAGE CONTENT FRAMESET #
############################
frameset = PAGE
frameset.typeNum = 0
############################
# PAGE CONTENT LEFT #
############################
leftFrame = PAGE
leftFrame.typeNum = 1
#Page-content
leftFrame.10 = TEMPLATE
leftFrame.10 {
template = FILE
template.file = fileadmin/templates/wmlt/html/left.html
}
############################
# PAGE CONTENT MIDDLE #
############################
middleFrame = PAGE
middleFrame.typeNum = 2
############################
# PAGE CONTENT RIGHT #
############################
rightFrame = PAGE
rightFrame.typeNum = 3
#Page-content
rightFrame.10 = TEMPLATE
rightFrame.10 {
template = FILE
template.file = fileadmin/templates/wmlt/html/right.html
}
############################
# PAGE CONTENT MENU #
############################
menuFrame = PAGE
menuFrame.typeNum = 4
#Page-content
menuFrame.10 = TEMPLATE
menuFrame.10 {
template = FILE
template.file = fileadmin/templates/wmlt/html/menu.html
}
############################
# PAGE CONTENT CONTENT #
############################
contentFrame = PAGE
contentFrame.typeNum = 5
contentFrame.bodyTag = <body class="home">
contentFrame.stylesheet = fileadmin/templates/wmlt/css/home.css
#Page-content
contentFrame.10 = TEMPLATE
contentFrame.10 < temp.mainTemplate
####################################
REGION FRAME DEFINITION
####################################
########################
# AUTOPARSER #
########################
plugin.tx_automaketemplate_pi1 {
content = FILE
content.file = fileadmin/templates/wmlt/html/region.html
# Here we define which elements in the HTML that
# should be wrapped in subpart-comments:
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
DIV.all = 1
TD.all = 1
p.all = 1
}
}
########################
# REGION CONTENT #
########################
temp.regionTemplate = TEMPLATE
temp.regionTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY
# Substitute the ###content### subpart with some example content:
subparts.LOCATION_INFO < temp.LOCATION_INFO
}
############################
# PAGE CONTENT REGION #
############################
regionFrame = PAGE
regionFrame.typeNum = 6
regionFrame.bodyTag = <body background="fileadmin/templates/wmlt/images/navi/unten/{$regionKey}_unten.gif">
#Page-content
regionFrame.10 = TEMPLATE
regionFrame.10 < temp.regionTemplate
############################
# CREATE FRAMESET #
############################
frameset.frameSet.cols= *,780,*
frameset.frameSet.params = border="0" framespacing="0" frameborder="0"
frameset.frameSet {
1 = FRAME
1.obj = leftFrame
1.params = scrolling="NO" noresize frameborder="NO" marginwidth="0" marginheight="0"
2 = FRAMESET
2.obj = middleFrame
2.params = framespacing="0" frameborder="0" marginheight="0"
2.rows= 106,*,45
2 {
1 = FRAME
1.obj = menuFrame
1.params = frameborder="0" noresize marginheight="0" border="0" scrolling="NO"
2 = FRAME
2.obj = contentFrame
2.params = frameborder="0" marginheight="0" border="0" scrolling="AUTO"
3 = FRAME
3.obj = regionFrame
3.params = frameborder="0" noresize marginheight="0" border="0" scrolling="NO"
}
3 = FRAME
3.obj = rightFrame
3.params = scrolling="NO" noresize frameborder="NO" marginwidth="0" marginheight="0"
}