Einzelnen Beitrag anzeigen
  #1  
Alt 24.05.06, 02:19
iicdkp iicdkp ist offline
Forum Zuschauer
 
Registriert seit: 24.05.06
Beiträge: 3

Hauptmenü und Untermenü verbinden


Hi Leute !

Ich habe da ein Problem bei der Erstellung von zwei Menüs. Das eine ist vertikal (Menu_Punkt1) und ist eigentlich das Hauptmenü, dessen Subitems ich in dem anderen (horizontalen) Menü (Unterm1) anzegeit haben möchte.
Ein Beispiel seht ihr hier, wo die Inhalte des horizontalen Menüs beim Anklicken unten mit den entsprechenden SubItems angezeigt werden.

Mein Typoscript-Code zeigt zur Zeit im Untermenü nur die SubItems eines festen Items des Hauptmenüs.
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:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
page = PAGE
menu = PAGE
top = PAGE
page.typeNum = 1
menu.typeNum = 2
top.typeNum = 3

outer_frameset = PAGE
outer_frameset.typeNum = 0

# Defining the outer frameset
outer_frameset.frameSet.rows = 220,*
outer_frameset.frameSet.params = frameborder="O" border="0"
outer_frameset.frameSet {
1 = FRAME
1.obj = top
1.params = marginheight="0" marginwidth="0" name="head" scrolling="no"
2 = FRAMESET
2.params = border="0" frameborder="no"
2.cols = 242, *
2 {
1 = FRAME
1.obj = menu
1.params = marginheight="0" margintop="0" marginwidth="0" scrolling="no"
2 = FRAME
2.obj = page
2.params = marginheight="0" margintop="1" marginwidth="0" scrolling="auto"
}
}

# *************************
# Defining the top-frame, "top"
# *************************

# Header code, stylesheet
top.headerData.10 = TEMPLATE
top.headerData.10 {
template = FILE
template.file = fileadmin/_temp_/template/head_navi.htm
workOnSubpart = HEADER_CODE
}

top.bodyTag = <BODY bgcolor="#ffffff">
top.10 = TEMPLATE
top.10 {
template = FILE
template.file = fileadmin/_temp_/template/head_navi.htm
workOnSubpart = DOCUMENT_BODY
marks {
UNTERM1 = HMENU
UNTERM1.special = directory
UNTERM1.special.value = 23
UNTERM1.1 = GMENU
UNTERM1.1.target = page
UNTERM1.1.NO = 1
UNTERM1.1.NO {
XY = [10.w] + 20, 39
backColor = #6BBC53
10 = TEXT
10.text.field = title
10.fontSize = 13  
10.offset = 12, 25
10.align = left
10.niceText = 1
}

UNTERM1.1.RO = 1
UNTERM1.1.RO {
XY = [10.w] + 20, 39
backColor = #6BBC53
10 = TEXT
10.text.field = title
10.fontSize = 13  
10.offset = 12, 25
10.align = left
10.niceText = 1
10.fontColor = white
}  
}
}


# *************************
# Defining the menu-frame, "menu"
# *************************

menu.headerData.10 = TEMPLATE
menu.headerData.10 {
template = FILE
template.file = fileadmin/_temp_/template/main_navi.htm
workOnSubpart = HEADER_CODE
}

menu.bodyTag = <BODY bgcolor="#ffffff">
menu.10 = TEMPLATE
menu.10 {
template = FILE
template.file = fileadmin/_temp_/template/main_navi.htm
workOnSubpart = DOCUMENT_BODY
marks {
MENU_PUNKT1 = HMENU
MENU_PUNKT1.special = directory
MENU_PUNKT1.special.value = 22
MENU_PUNKT1.1 = GMENU
MENU_PUNKT1.1.target = page
MENU_PUNKT1.1.NO = 1
MENU_PUNKT1.1.NO {
wrap = | <br>
XY = 242, 39
backColor = #1E9761

10 = TEXT
10.text.field = title
10.fontSize = 13  
10.offset = 12, 25
10.align = left
10.niceText = 1

20 = IMAGE
20.file = GIFBUILDER
20.file {
XY = 242, 1
backColor = #FFFFFF
}
20.offset = 0, 0
}

MENU_PUNKT1.1.RO = 1
MENU_PUNKT1.1.RO {
wrap = | <br>
XY = 242, 39
backColor = #1E9761

10 = TEXT
10.text.field = title
10.fontSize = 13  
10.offset = 12, 25
10.align = left
10.niceText = 1
10.fontColor = white

20 = IMAGE
20.file = GIFBUILDER
20.file {
XY = 242, 1
backColor = #FFFFFF
}
20.offset = 0, 0
}  
}
}

# *************************
# Defining the content-frame, "page"
# *************************

page.headerData.10 = TEMPLATE
page.headerData.10 {
template = FILE
template.file = fileadmin/_temp_/template/content.htm
workOnSubpart = HEADER_CODE
}
page.bodyTag = <BODY bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
page.includeCSS {
file =  fileadmin / _temp_ / template / verkehrswacht.css
}

page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/_temp_/template/content.htm
workOnSubpart = DOCUMENT_BODY
marks.CONTENT < styles.content.get
}
und so sieht es aus...

Kann mir jemand helfen ?
Mit Zitat antworten
TYPO3forum.net empfiehlt den T3N Testsieger: Bestes Preis-Leistungs-Verhältnis (Ausgabe 12/2008)