Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten Ansicht
  #1  
Alt 08.05.08, 15:07
Forum Newbie
 
Registriert seit: 10.04.08
Beiträge: 26
Pfeil ACTSUBIF - wie anwenden?

Hallo,
ich habe zwei Menüs mit jeweils eigenen Markern.
Das eine Menü ist das Mainmenü und das andere ist ein Submenü.
Da das Submenü allerdings in Spalten dargestellt werden soll habe ich nun das folgende Problem:
Sobald ich einen Submenü-Punkt auswähle, wird in meinem Mainmenü der aktive Punkt wieder als inaktiv gesetzt.
Hier mein TypoScript...
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:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
seite = PAGE
seite.typeNum = 0
seite.10 = TEMPLATE
seite.10.template = FILE
seite.10.template.file = fileadmin/templates/main4.htm
seite.10.marks.MAIN_MENU = HMENU
seite.10.marks.MAIN_MENU {
special = directory
special.value = 1
1 = TMENU
1 {
NO = 1
NO {
ATagTitle.field = title
ATagBeforeWrap = 1
allWrap = <p style="margin-bottom:13px; margin-top:0px;">|</p>
linkWrap = <font color="#ffffff" onmouseover="this.style.backgroundColor = '#E43388'" onmouseout="this.style.backgroundColor = '#A4B515'" onclick="this.style.backgroundColor='#E43388'" style="background-color:#A4B515; text-decoration:none;">&nbsp;|&nbsp;</span></font>
}
ACT < .NO
ACT = 1
ACT{
ATagTitle.field = title
allWrap = <p style="margin-bottom:13px; margin-top:0px;">|</p>
linkWrap = <font color="#ffffff"><span style="background-color:#E43388; text-decoration:none;">&nbsp;|&nbsp;</span></font>
ATagBeforeWrap = 1
}
ACTIFSUB < .NO
ACTIFSUB = 1
ACTIFSUB{
ATagTitle.field = title
ATagParams = style="text-decoration:none;"
allWrap = <p style="margin-bottom:13px; margin-top:0px;">|</p>
linkWrap = <font color="#ffffff" style="background-color:#E43388;">&nbsp;|&nbsp;</font>
ATagBeforeWrap = 1
}
}
}


seite.10.marks.SP1 = HMENU
seite.10.marks.SP1 {
special = directory
special.value = 60
1 = TMENU
1 {
noBlur = 1
NO = 1
NO {
ATagTitle.field = title
ATagBeforeWrap = 1
ATagParams = style="text-decoration:none;"
allWrap = <p style="margin-bottom:9px; margin-top:0px;">|</p>
linkWrap = <font color="#ffffff" onmouseover="this.style.backgroundColor = '#E43388'" onmouseout="this.style.backgroundColor = '#A4B515'" onclick="this.style.backgroundColor='#E43388'" style="background-color:#A4B515;"><font face="Wingdings">à</font>|&nbsp;</span></font>
}
ACT < .NO
ACT = 1
ACT{
ATagTitle.field = title
ATagParams = style="text-decoration:none;"
allWrap = <p style="margin-bottom:9px; margin-top:0px;">|</p>
linkWrap = <font color="#ffffff" style="background-color:#E43388;"><font face="Wingdings">ä</font>|&nbsp;</font>
ATagBeforeWrap = 1
}
}
}
seite.10.marks.SP2 = HMENU
seite.10.marks.SP2 {
special = directory
special.value = 61
1 = TMENU
1 {
noBlur = 1
NO = 1
NO {
ATagTitle.field = title
ATagBeforeWrap = 1
ATagParams = style="text-decoration:none;"
allWrap = <p style="margin-bottom:9px; margin-top:0px;">|</p>
linkWrap = <font color="#ffffff" onmouseover="this.style.backgroundColor = '#E43388'" onmouseout="this.style.backgroundColor = '#A4B515'" onclick="this.style.backgroundColor='#E43388'" style="background-color:#A4B515;"><font face="Wingdings">à</font>|&nbsp;</span></font>
}
ACT < .NO
ACT = 1
ACT{
ATagTitle.field = title
ATagParams = style="text-decoration:none;"
allWrap = <p style="margin-bottom:9px; margin-top:0px;">|</p>
linkWrap = <font color="#ffffff" style="background-color:#E43388;"><font face="Wingdings">ä</font>|&nbsp;</font>
ATagBeforeWrap = 1
}
}
}
seite.10.marks.SP3 = HMENU
seite.10.marks.SP3 {
special = directory
special.value = 62
1 = TMENU
1 {
noBlur = 1
NO = 1
NO {
ATagTitle.field = title
ATagParams = style="text-decoration:none;"
ATagBeforeWrap = 1
allWrap = <p style="margin-bottom:9px; margin-top:0px;">|</p>
linkWrap = <font color="#ffffff" onmouseover="this.style.backgroundColor = '#E43388'" onmouseout="this.style.backgroundColor = '#A4B515'" onclick="this.style.backgroundColor='#E43388'" style="background-color:#A4B515;"><font face="Wingdings">à</font>|&nbsp;</span></font>
}
ACT < .NO
ACT = 1
ACT{
ATagTitle.field = title
ATagParams = style="text-decoration:none;"
allWrap = <p style="margin-bottom:9px; margin-top:0px;">|</p>
linkWrap = <font color="#ffffff" style="background-color:#E43388;"><font face="Wingdings">ä</font>|&nbsp;</font>
ATagBeforeWrap = 1
}
}
}
seite.10.marks.SP4 = HMENU
seite.10.marks.SP4 {
special = directory
special.value = 63
1 = TMENU
1 {
noBlur = 1
NO = 1
NO {
ATagTitle.field = title
ATagParams = style="text-decoration:none;"
ATagBeforeWrap = 1
allWrap = <p style="margin-bottom:9px; margin-top:0px;">|</p>
linkWrap = <font color="#ffffff" onmouseover="this.style.backgroundColor = '#E43388'" onmouseout="this.style.backgroundColor = '#A4B515'" onclick="this.style.backgroundColor='#E43388'" style="background-color:#A4B515;"><font face="Wingdings">à</font>|&nbsp;</span></font>
}
ACT< .NO
ACT = 1
ACT{
ATagTitle.field = title
ATagParams = style="text-decoration:none;"
allWrap = <p style="margin-bottom:9px; margin-top:0px;">|</p>
linkWrap = <font color="#ffffff" style="background-color:#E43388;"><font face="Wingdings">ä</font>|&nbsp;</font>
ATagBeforeWrap = 1
}
}
}
seite.10.marks.SP5 = HMENU
seite.10.marks.SP5 {
special = directory
special.value = 64
1 = TMENU
1 {
noBlur = 1
NO = 1
NO {
ATagTitle.field = title
ATagParams = style="text-decoration:none;"
ATagBeforeWrap = 1
allWrap = <p style="margin-bottom:9px; margin-top:0px;">|</p>
linkWrap = <font color="#ffffff" onmouseover="this.style.backgroundColor = '#E43388'" onmouseout="this.style.backgroundColor = '#A4B515'" onclick="this.style.backgroundColor='#E43388'" style="background-color:#A4B515;"><font face="Wingdings">à</font>|&nbsp;</span></font>
}
ACT< .NO
ACT = 1
ACT{
ATagTitle.field = title
ATagParams = style="text-decoration:none;"
allWrap = <p style="margin-bottom:9px; margin-top:0px;">|</p>
linkWrap = <font color="#ffffff" style="background-color:#E43388;"><font face="Wingdings">ä</font>|&nbsp;</font>
ATagBeforeWrap = 1
}
}
}
seite.10.marks.SP6 = HMENU
seite.10.marks.SP6 {
special = directory
special.value = 65
1 = TMENU
1 {
noBlur = 1
NO = 1
NO {
ATagTitle.field = title
ATagParams = class="fish" style="text-decoration:none;"
ATagBeforeWrap = 1
allWrap = <p style="margin-bottom:9px; margin-top:0px;">|</p>
linkWrap = <font color="#ffffff" onmouseover="this.style.backgroundColor = '#E43388'" onmouseout="this.style.backgroundColor = '#A4B515'" onclick="this.style.backgroundColor='#E43388'" style="background-color:#A4B515;"><font face="Wingdings">à</font>|&nbsp;</span></font>
}
ACT < .NO
ACT = 1
ACT{
ATagTitle.field = title
ATagParams = style="text-decoration:none;"
allWrap = <p style="margin-bottom:9px; margin-top:0px;">|</p>
linkWrap = <font color="#ffffff" style="background-color:#E43388;"><font face="Wingdings">ä</font>|&nbsp;</font>
ATagBeforeWrap = 1
}
}
}

#--------------------------------------------------------------------------------------
#HAUPTINHALT
#--------------------------------------------------------------------------------------
seite.10.marks {
#----------------------------------------
#Überschrift
#----------------------------------------
#HEADER_1 = TEXT
#HEADER_1.field = title
#HEADER_1.wrap = <font size="4" color="#A4B515"> | </font>
#=========================
#----------------------------------------
#Linker Inhalt
#----------------------------------------
CONTENT_1 = CONTENT
CONTENT_1 {
table = tt_content
select.orderBy = sorting
#select.where = colPos = 0
wrap = <font face="georgia" style="font-size:0.7em"> | </font>
}
#=========================
#----------------------------------------
#Rechter Inhalt
#----------------------------------------
#CONTENT_2 = CONTENT
#CONTENT_2 {
#table = tt_content
#select.orderBy = sorting
#select.where = colPos = 2
#wrap = <font face="georgia" style="font-size:0.7em"> | </font>
#}
#=========================
}
Miniaturansicht angehängter Grafiken
mainmen-inaktiv-menu.png  
Angehängte Grafiken
 

Geändert von blackstone (09.05.08 um 13:10 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 08.05.08, 15:26
Forum Newbie
 
Registriert seit: 13.11.06
Alter: 31
Beiträge: 49

Versuch mal CURIFSUB anstatt ACTIFSUB
__________________
Schöne Grüße
sundance
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 08.05.08, 15:37
Forum Newbie
 
Registriert seit: 10.04.08
Beiträge: 26

Erstmal danke für die schnelle Antwort. Werde es gleich einma testen, könntest du mir aber einmal erklären wie du darauf kommst?
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
  #4  
Alt 08.05.08, 15:39
Forum Newbie
 
Registriert seit: 10.04.08
Beiträge: 26

Hat leider nicht wirklich funktioniert...
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
  #5  
Alt 08.05.08, 15:54
Forum Newbie
 
Registriert seit: 13.11.06
Alter: 31
Beiträge: 49

Ich machs eigentlich immer so, dass ich dem jeweiligen Menüzustand (ACT, CURIFSUB etc.) einfach eine CSS-Klasse zuordne. Diese kann ich dann nachher einfacher formatieren.

Wäre das evt. eine Lösung?
__________________
Schöne Grüße
sundance
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
  #6  
Alt 08.05.08, 15:58
Forum Newbie
 
Registriert seit: 10.04.08
Beiträge: 26

Nicht wirklich, wäre mir im nachhinein zu viel Aufwand. Aber habe ich in meinem Script irgendetwas falsch gemacht, oder warum dunktioniert der ACTIFSUB nicht?
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
  #7  
Alt 08.05.08, 16:07
Forum Newbie
 
Registriert seit: 10.04.08
Beiträge: 26

Wenn ich nur IFSUB verwende funktioniert es alles korrekt... Aber ich möchte eben kein IFSUB, sonder einen ACTIFSUB! Hat jemand ne Idee was ich sonst noch daran ändern könnte?
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
  #8  
Alt 09.05.08, 10:04
Forum Newbie
 
Registriert seit: 10.04.08
Beiträge: 26

Wär echt gut wenn ich schnell ein paar Ideen bekommen könnte da das Ganze etwas eilt..

Geändert von blackstone (09.05.08 um 13:13 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
  #9  
Alt 15.05.08, 09:51
Forum Newbie
 
Registriert seit: 10.04.08
Beiträge: 26
Lächeln

...

Geändert von blackstone (15.05.08 um 09:57 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
  #10  
Alt 15.05.08, 09:56
Forum Newbie
 
Registriert seit: 10.04.08
Beiträge: 26
Lächeln

Hat hier jemand vll ein paar Ideen wenigstens was ich noch ausprobieren könnte?
Oder ist es vielleicht nicht möglich, bei einem Menü, so wie es unten aufgebaut ist, den fröhlichen Smilie z.B. rot hinterlegen, wenn man den Smilie mit der Sonnenbrille anklickt?
Scheint mir eher unrealistisch... Wie würdet Ihr dieses Problem lösen?

-------------------------------------------------------------------------




╠═

╠═
║--║
║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╚═
║--║
║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╚═
║--║
║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╚═
║--║
║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╚═
║--║
║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╠═
║--║--║
║--║--╚═
║--║
║--╚═
║-----║
║-----╠═
║-----║
║-----╠═
║-----║
║-----╠═
║-----║
║-----╠═
║-----║
║-----╠═
║-----║
║-----╚═

╠═

╠═

╠═

╚═

-------------------------------------------------------------------------
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


Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
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 anzufügen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

vB 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
RealURL inaktiv??? SpamKit Suchmaschinenfreundliche URLs (SEO) 2 08.06.07 08:47
css_styled_content inaktiv? karob TYPO3 4.x Fragen und Probleme 1 26.04.06 07:52


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:25 Uhr.