|
Verfasst am: 04. 06. 2003 [11:21]
|
|
Moellers
Themenersteller
Dabei seit: 03.06.2003
Beiträge: 58
|
Hi,
habe ein Problem mit dem folgenden Menue. Level 1-2 in der Linken Tabelle werden ohne Probleme angezeigt. Level 3 soll in der rechten Tabelle erscheinen. Leider sehe ich dort nix. Kann mir einer von Euch vielleicht nen Tipp geben wie ich das ändern kann?
Gruss und Danke
Andreas
Wenn ich zwei Instanzen von HMENU anlegen (links und rechts) funktioniert es einwandfrei. Nur leider kann ich dann nicht nur im Rechten Level 3 anzeigen wenn im Linken Level 2 angeklickt ist.
Hier das Template (Setup) alles andere leer
[code:1:5043abd0ee]# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/template/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/
}
# Menu 1 cObject
temp.menu1 = HMENU
# First level menu-object, textual
temp.menu1.1 = TMENU
temp.menu1.1 {
# Normal state properties
NO.allWrap = <div class="menu1-no"> | </div>
}
temp.menu1.2 = TMENU
temp.menu1.2 {
# Normal state properties
NO.allWrap = <div class="menu1-no1"> | </div>
}
# Menu 2 cObject
temp.menu2 = TMENU
temp.menu2.1 {
# Normal state properties
NO.allWrap = <div class="menu1-no2"> | </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 ###menu1### subpart with dynamic menu:
subparts.menu1 < temp.menu1
# Substitute the ###menu2### subpart with dynamic menu:
subparts.menu2 < temp.menu2
# 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
[/code:1:5043abd0ee]
|
|
Verfasst am: 06. 06. 2003 [12:02]
|
|
Moellers
Themenersteller
Dabei seit: 03.06.2003
Beiträge: 58
|
Hat sich erledigt.
Gruss
Andreas
|
|
Verfasst am: 27. 09. 2004 [13:43]
|
|
fschnidi
Dabei seit: 15.02.2004
Beiträge: 192
|
und wie!?
|