[Typo3] Newbie colpos question

PaulDT pdellato at gmp.usyd.edu.au
Sat Jun 18 19:24:32 CEST 2005


Hi listers,

Have been reading through docs and lists daily for more than a week now 
with no success, please, please help on this, simple question I'm sure, 
but its doing my head in.

Typo 3.8
Unix
Quickstart Install

I have inserted this in TSConfig of root page:
--
mod.web_view.type=1
mod.SHARED.colPos_list=0,3
--
Content appears in Normal position (BE and FE) when added no probs.
Am able to add content to border position in BE but does not appear in 
FE, can someone please help with how to get the content added to border 
position via template, am not sure when to code into setup of template. 
Thanks.

--
# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
     # Read the template file:
   content = FILE
   content.file = fileadmin/template/main/admin_template.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/main/
}

# 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>
}
   # Third level menu-object, textual
temp.menu_1.3 = TMENU
temp.menu_1.3 {
     # Normal state properties
   NO.allWrap = <div class="menu1-level3-no"> | </div>
     # Enable active state and set properties:
   ACT = 1
   ACT.allWrap = <div class="menu1-level3-act"> | </div>
}
   # Fourth level menu-object, textual
temp.menu_1.4 = TMENU
temp.menu_1.4 {
     # Normal state properties
   NO.allWrap = <div class="menu1-level4-no"> | </div>
     # Enable active state and set properties:
   ACT = 1
   ACT.allWrap = <div class="menu1-level4-act"> | </div>
}

# 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 <body>-tags
   workOnSubpart = DOCUMENT_BODY
     # Substitute the ###menu_1### subpart with dynamic menu:
   subparts.menu_1 < temp.menu_1
     # Substitute the ###content### subpart with some example content:
   subparts.content < styles.content.get
}

# 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
}

# Default PAGE object:
page = PAGE
page.typeNum = 0

# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate


# Copying the content from TEMPLATE for <head>-section:
page.headerData.10  < temp.headTemplate
--



More information about the TYPO3-english mailing list