Antwort
 
LinkBack Themen-Optionen Thema bewerten Ansicht
  #1  
Alt 19.01.06, 21:13
Forum Newbie
 
Registriert seit: 05.01.06
Beiträge: 11

2. Menüebene ist aufgeklappt im Extension-Template,


Hallo,

folgendes: Dieser Code funktioniert in einem Extension-Template einwandfrei, wenn ich es innerhalb eines root-level-Templates ausführen lasse.

Lasse ich es nicht als root-level laufen, ist die zweite eben aufgeklappt. Hat jemand eine Idee.

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:
page.20 {
marks{
SUBNAVIGATION= HMENU
SUBNAVIGATION{    
special = directory
special.value =4
1 = TMENU
1.NO = 1
1.noBlur = 1
1.expAll = 1
1.wrap = <div id="Subnavigation"><h1>Wohnanlagen</h1><ul>|</ul></div>
1.NO.wrapItemAndSub = <li>|</li>
1.CUR = 1
1.CUR.doNotLinkIt = 1
1.CUR.wrapItemAndSub = <li class="gruen">|</li>
1.CUR.allWrap = |<span class="usb">. </span>
1.ACTIFSUB = 1
1.ACTIFSUB.wrapItemAndSub = <li class="gruen">|</li>
1.ACTIFSUB.allWrap = |<span class="usb">. </span>
1.ACTIFSUB.ATagParams = class="aktiv_link"
1.NO.ATagTitle.field = description // title

2 = TMENU
2.NO = 1
2.noBlur = 1
2.expAll = 1
2.wrap = <ul class="subliste">|</ul>
2.NO.wrapItemAndSub = <li>|</li>
2.CUR = 1
2.CUR.doNotLinkIt = 1
2.CUR.wrapItemAndSub = <li class="gruen">|</li>
2.CUR.allWrap = |<span class="usb">. </span>
2.ACTIFSUB = 1
2.ACTIFSUB.wrapItemAndSub = <li class="gruen">|</li>
2.ACTIFSUB.allWrap = |<span class="usb">. </span>
2.ACTIFSUB.ATagParams = class="aktiv_link"
2.NO.ATagTitle.field = description // title

}
}

}

Viele Grüße

Peter

Geändert von Junior (22.01.06 um 15:58 Uhr).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #2  
Alt 19.01.06, 21:20
Forum Aktivist
 
Registriert seit: 30.09.05
Beiträge: 90

Kann es sein, dass Du den entryLevel für das Untermenü noch festlegen musst?

Grüße
Tobit
__________________
Der Mensch ist ein analoges, kein digitales Wesen.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #3  
Alt 20.01.06, 07:52
Forum Newbie
 
Registriert seit: 05.01.06
Beiträge: 11

Entry Level ist es nicht


Hallo,

der entry-level ist es nicht, denn er gibt ja nur die Startebene an. Zum Verständnis wenn also ds Menü innerhalb der MArker dieses Scripts steht, dann funktioniert es einwandfrei.
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:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
page = PAGE
# page.typeNum = 0 (entfällt seit TYPO3 3.8.0)
page.bodyTag = <body>

page.config {
doctype = xhtml_trans
xmlprologue = none
htmlTag_langKey = de
xhtml_cleaning = all
cache_period = 10
linkVars = L
sys_Language_uid = 0
language = de
removedefaultJS = 1

}

page.meta {
description = Hier steht eine Beschreibung der Website.
keywords = Hier steht eine kommaseparierte Aufzählung.
author = Peter Frey
robots = nofollow
}

page.headerData.5 = TEXT
page.headerData.5.value (
<link href="fileadmin/styles/elemente.css" rel="stylesheet" type="text/css" />
<link href="fileadmin/styles/formulare.css" rel="stylesheet" type="text/css" />
<link href="fileadmin/styles/ebenenID.css" rel="stylesheet" type="text/css" />
<link href="fileadmin/styles/klassen.css" rel="stylesheet" type="text/css" />
)

page.20 = TEMPLATE
page.20 {
template = FILE
template.file = fileadmin/masterTemplate.htm
workOnSubpart = DOKUMENT

marks{

INHALT < styles.content.get

SPRACHE= PHP_SCRIPT
SPRACHE.file = fileadmin/scripts/my_languageMenu.php

LOGO = IMAGE
LOGO.file = fileadmin/images/logo.gif


MENU_OBEN = HMENU
MENU_OBEN.special = directory
MENU_OBEN.special.value = 20
MENU_OBEN.1 = TMENU
MENU_OBEN.1 {
NO.ATagTitle.field = description // title
noBlur = 1
expAll = 0
wrap = <ul>|</ul>
NO.wrapItemAndSub = <li>|</li>
CUR = 1
CUR.doNotLinkIt = 1
CUR.wrapItemAndSub = <li class="gruen">|</li>
CUR.allWrap = |<span class="usb">. </span>
ACTIFSUB = 1
ACTIFSUB.wrapItemAndSub = <li class="gruen">|</li>
ACTIFSUB.allWrap = |<span class="usb">. </span>
ACTIFSUB.ATagParams = class="aktiv_link"
}

KLICKPFAD = HMENU
KLICKPFAD {
special = rootline
special.range = 2|-1
1 = TMENU
1.NO = 1
1.NO.doNotLinkIt = 1
1.noBlur = 1
1.target = _self
NO.ATagTitle.field = description // title
1.NO.linkWrap = |&nbsp;&gt;&nbsp; |*|
1.CUR = 1
1.CUR {
linkWrap = <strong>|</strong>
doNotLinkIt = 1
}

}

HAUPTNAVIGATION = HMENU
HAUPTNAVIGATION {
special = directory
special.value = 21
1 = TMENU
1.NO = 1
1.noBlur = 1
1.noBlur = 1
1.expAll = 0
1.wrap = <ul>|</ul>
1.NO.wrapItemAndSub = <li>|</li>
1.CUR = 1
1.CUR.doNotLinkIt = 1
1.CUR.wrapItemAndSub = <li class="gruen">|</li>
1.CUR.allWrap = |<span class="usb">. </span>
1.ACTIFSUB = 1
1.ACTIFSUB.wrapItemAndSub = <li class="gruen">|</li>
1.ACTIFSUB.allWrap = |<span class="usb">. </span>
1.ACTIFSUB.ATagParams = class="aktiv_link"
1.NO.ATagTitle.field = description // title

}


}


}

tt_content.menu.20.2 = HMENU
tt_content.menu.20.2.stdWrap.wrap =
tt_content.menu.20.2 {
special = directory
special.value.field = pages

1 = TMENU
1.noBlur = 1
1.expAll = 1
1.wrap = <ul id="Sitemap">|</ul>
1.NO.allWrap =
1.NO.linkWrap =
1.NO.wrapItemAndSub = <li>|</li>
1.NO.allWrap = |<span class="usb">. </span>
1.NO.ATagBeforeWrap = 0
2 < .1
2.wrap = <ul>|</ul>
2.NO.wrapItemAndSub = <li>|</li>
3 < .2
3.NO.wrapItemAndSub = <li>|</li>
4 < .2
4.NO.wrapItemAndSub = <li>|</li>

lib.stdheader.10.1.fontTag = <h1>|</h1>
lib.stdheader.10.2.fontTag = <h2>|</h2>
tt_content.menu.20.2.1.NO.allWrap >
tt_content.menu.20.2.wrap =
tt_content.stdWrap.dataWrap >
tt_content.stdWrap.space=0

}




[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = en
[global]

[globalVar = GP:L = 2]
config.sys_language_uid = 2
config.language = fr
[global]

[globalVar = GP:L = 3]
config.sys_language_uid = 3
config.language = es
[global]

[globalVar = GP:L = 4]
config.sys_language_uid = 4
config.language = it
[global]


tt_content.menu.20.2.1.target =
tt_content.menu.20.2.2.target =
tt_content.menu.20.2.3.target =
tt_content.menu.20.2.4.target =
tt_content.menu.20.2.wrap =
tt_content.menu.20.2.2.target =
lib.stdheader.10.1.fontTag = <h1>|</h1>
lib.stdheader.10.2.fontTag = <h2>|</h2>
lib.stdheader.10.3.fontTag = <h3>|</h3>
tt_content.header.20.dataWrap = <p>|</p>
tt_content.stdWrap.prefixComment >
lib.stdheader.stdWrap.prefixComment >
tt_content.text.20.prefixComment >

tt_content.stdWrap.dataWrap >



# "Class"-Bezeichnung aus <p> Tag löschen
lib.parseFunc_RTE < lib.parseFunc
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines {
encapsTagList = div,p,pre,h1,h2,h3,h4,h5,h6
remapTag.DIV = P
nonWrappedTag = P
innerStdWrap_all.ifEmpty =
#addAttributes.P.class = bodytext
#addAttributes.P.class.setOnly=blank

}

# "Class"-Bezeichnung aus <h> Tag's löschen
lib.stdheader {
10.1.fontTag = <h1>|</h1>
10.2.fontTag = <h2>|</h2>
10.3.fontTag = <h3>|</h3>
10.4.fontTag = <h4>|</h4>
10.5.fontTag = <h5>|</h5>
stdWrap.dataWrap = |
}
tt_content.bullets.20.stdWrap.prefixComment =


Ich möchte aber es aber als Extension-Template verwenden.

Grüße

Peter

Geändert von Junior (22.01.06 um 15:59 Uhr).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
2 Menübäume dauerhaft aufgeklappt Aldarin GMENU, HMENU, TMENU und Co. 3 31.07.07 10:54
TMENU_LAYER bleibt aufgeklappt rob-master GMENU, HMENU, TMENU und Co. 3 10.04.07 19:05
Menü aufgeklappt squeakx GMENU, HMENU, TMENU und Co. 1 05.04.06 14:35
2. Menü ist stets aufgeklappt freyherr GMENU, HMENU, TMENU und Co. 1 24.03.06 09:33
Menü aufgeklappt anzeigen?! Dalerion GMENU, HMENU, TMENU und Co. 3 24.03.06 09:31


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:31 Uhr.


Powered by vBulletin® Version 3.7.3 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0