[Typo3-UG Dutch] probleem met menu

Joost Kahmann joost.kahmann at hvu.nl
Mon Aug 29 09:16:45 CEST 2005


Ha Johan,

Onder workOnSubpart =DOCUMENT_BODY
staat wel een verwijzing naar de content [subparts.content < styles.content.get] maar niet naar het menu.

Groet, Joost




-----Oorspronkelijk bericht-----
Van: typo3-ug-dutch-bounces at lists.netfielders.de namens Johan van Helleman
Verzonden: vr 26-8-2005 20:03
Aan: typo3-ug-dutch at lists.netfielders.de
Onderwerp: [Typo3-UG Dutch] probleem met menu
 
Hallo, 

ik ben al dagenaan het stoeien met een menu dat ik niet op de gewenste plaats krijg ik heb al heel wat 
forums bekeken maar allemaal geven zenet niet het goede antwoord. 

ik loop tegen het volgende probleem aan: 

ik heb een menu dat ik onder mijn header in mijn pagina wil hebben (http://www.bommelstee.nl) 
De oranje balk onder de de header is voor het menu bedoeld.

hoe krijg ik het menu dat nu boven de header staat in deze oranjebalk? 

ik heb het volgende typoscript gebruikt:

# Setting up page:
page = PAGE
page.typeNum = 0
page.bodyTagMargins = 0
page.bodyTagMargins.useCSS = 1
page.config.doctype = xhtml_trans
page.config.language = nl
page.config.locale_all = nl_NL
page.includeLibs.tmenu_layers = media/scripts/tmenu_layers.php 
page.includeLibs.gmenu_layers = media/scripts/gmenu_layers.php
page.HTML.value.lang = NL
page.headerData.999.global.keywords = bommelstee, den bommel, schaapseweg, trouwen, feest, partij, bruiloft
page.stylesheet = fileadmin/template/main/res/stylesheet.css


page.10 = HMENU
page.10.1 = GMENU_LAYERS
page.10.1 {
  layerStyle = position:absolute;left:0px;top:30px;width:10px;VISIBILITY:hidden; 
  xPosOffset =-10
  lockPosition = x
  expAll=1
  NO {
    backColor = #cccccc
    XY = [10.w]+10, 14
    10 = TEXT
    10.text.field = title
    10.offset = 5,10
  }
}
page.10.2 = GMENU
page.10.2.wrap = |<BR>
page.10.2.NO {
  backColor = #99cccc
  XY = 120, 14
  10 = TEXT
  10.text.field = title
  10.offset = 5,10
}

# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
    # Read the template file:
  content = FILE
  content.file = fileadmin/template/main/template_2test.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/
}
# 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 ###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
}
# copying the content from TEMPLATE for <body>-section:
page.11 < temp.mainTemplate
# Copying the content from TEMPLATE for <head>-section:
page.headerData.11  < temp.headTemplate
# Setting body tag margins, XHTML compatible:
page.bodyTagMargins.useCSS = 1


Wie kan me helpen?

alvast vriendelijk dank voor de hulp.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4287 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-ug-dutch/attachments/20050829/9f8e7110/attachment.bin 


More information about the TYPO3-UG-dutch mailing list