page.config.admPanel = 1 # Configuring the Auto-Parser for main template: plugin.tx_automaketemplate_pi1 { # Read the template file: content = FILE content.file = fileadmin/template/template_main.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 TD.all = 1 #DIV.id.sidebar = 1 #DIV.id.sidelink = 1 DIV.all = 1 DIV.all. } # Prefix all relative paths with this value: relPathPrefix = fileadmin/template/ } # Menu 1 cObject temp.sidebar = HMENU # First level menu-object, textual temp.sidebar.1 = TMENU temp.sidebar.1 { # Normal state properties NO.allWrap = # Enable active state and set properties: ACT = 1 ACT.allWrap = } ## Second level menu-object, textual #temp.menu_1.2 = TMENU #temp.menu_1.2 { # # Normal state properties # NO.allWrap = # # Enable active state and set properties: # ACT = 1 # ACT.allWrap = #} # Main TEMPLATE cObject for the BODY temp.mainTemplate = TEMPLATE temp.mainTemplate { # Feeding the content from the Auto-parser to the TEMPLATE cObject: template =< plugin.tx_automaketemplate_pi1 # Select only the content between the -tags workOnSubpart = DOCUMENT_BODY # Substitute the ###menu_1### subpart with dynamic menu: #subparts.sidelink < temp.sidebar subparts.sidebar < temp.sidebar # Substitute the ###content### subpart with some example content: subparts.content < styles.content.get subparts.content_right < styles.content.getRight } # 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 -tags workOnSubpart = DOCUMENT_HEADER } # Default PAGE object: page = PAGE page.typeNum = 0 # Copying the content from TEMPLATE for -section: page.10 < temp.mainTemplate # Copying the content from TEMPLATE for -section: page.headerData.10 < temp.headTemplate