Einzelnen Beitrag anzeigen
  #1  
Alt 25.04.06, 23:00
potowotoumi potowotoumi ist offline
Forum Zuschauer
 
Registriert seit: 25.04.06
Alter: 24
Beiträge: 2

2end Level Menü mit Typo3-Script


Hallo mein Typo3-Script schafft es leider aus mir unerklärlichen Gründen nicht, das sec_navigation (einen zweiten Menü-Block) in der richtigen Ebene (Level) darstellen. Ich hab schon einiges rumprobiert, hat aber leider nicht geklappt.
Bin Newbee und hoffe, dass mir da einer helfen kann.
Vielen Dank!

Typo3-Version: 3.8
Website: http://www.delattre.de

Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
# top_navigation cObject
temp.top_navigation = HMENU
# First level menu-object, textual
temp.top_navigation.1 = TMENU
temp.top_navigation.1 {
# Normal state properties
NO.allWrap = <li> | </li>
NO.stdWrap.htmlSpecialChars = 1
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <li id="current"> | </li>
ACT.stdWrap.htmlSpecialChars = 1
}

# sec_navigation cObject
temp.sec_navigation = HMENU
## Second level menu-object, textual
temp.sec_navigation.1 = TMENU
temp.sec_navigation.1 {
entryLevel = 2
# Normal state properties
NO.allWrap = <li> | </li>
NO.stdWrap.htmlSpecialChars = 1
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <li id="current2"> | </li>
ACT.stdWrap.htmlSpecialChars = 1
}

# Page Last Updated:
temp.lastupdate = TEXT
temp.lastupdate {
date = d.m.Y
}

# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template = FILE
template.file = fileadmin/template/template.html
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY

subparts.update < temp.lastupdate

# Substitute the ###menus### subpart with dynamic menu:
subparts.top_navigation < temp.top_navigation
subparts.sec_navigation < temp.sec_navigation

# Substitute the ###content### subpart with some example content:

subparts.content < styles.content.get

}
# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
template = FILE
template.file = fileadmin/template/template.html
# Select only the content between the <head>-tags
workOnSubpart = DOCUMENT_HEADER
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.stylesheet = fileadmin/template/default.css
page.config.doctype = xhtml_trans

# 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

config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = (at)
Mit Zitat antworten
TYPO3forum.net empfiehlt den T3N Testsieger: Bestes Preis-Leistungs-Verhältnis (Ausgabe 12/2008)