|
# Template s Autoparser # Configuring the Auto-Parser: plugin.tx_automaketemplate_pi1 { # Read the template file: content = FILE content.file = fileadmin/template/index.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 } # Prefix all relative paths with this value: relPathPrefix = fileadmin/template/ }
page.config.doctype = xhtml_trans
# Menu definition # Menu 1 cObject temp.menu_1 = HMENU # First level menu-object, textual temp.menu_1.1 = TMENU temp.menu_1.1 { # Normal state properties NO.allWrap = <div class="menu1-level1-no"> | </div> # Enable active state and set properties: ACT = 1 ACT.allWrap = <div class="menu1-level1-act"> | </div> } # Second level menu-object, textual temp.menu_1.2 = TMENU temp.menu_1.2 { # Normal state properties NO.allWrap = <div class="menu1-level2-no"> | </div> # Enable active state and set properties: ACT = 1 ACT.allWrap = <div class="menu1-level2-act"> | </div> }
|