Einzelnen Beitrag anzeigen
  #8  
Alt 19.06.08, 15:21
lotte lotte ist offline
Forum Newbie
 
Registriert seit: 15.04.08
Beiträge: 35

Das Pulldown-Menu funktioniert jetzt. Mit der nervigen Einschränkung allerdings, dass man immer den Cache lernen muss - wie im Besipiel des Manuals.
Hat hier irgendwer einen Lösungsansatz?

Vielen Dank!
Eine verzweifelte Blondine...


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:
lib.nav_spieltag = COA
lib.nav_spieltag.wrap = <form action="index.php?id=49" method="post" name="Form1"><table width="299px" border="0" cellpadding="0" cellspacing="0"><tr valign="top"> | <td><input name="submit1" type="submit" value="Auswahl" class="button_style"></td></tr></table></form>
lib.nav_spieltag{
10 = TEXT
10.value =
50 = CONTENT
50 {
wrap = <td><select name="menu1" class="list_style"><option value="">Saison</option>|</select></td>
table = tt_news_cat
select {
                # the category folder(s)
pidInList = 2
andWhere = parent_category = 84
}
renderObj = COA

renderObj {
10 = TEXT
10.field = uid
10.wrap = <option value="|"
20 = TEXT
20 {
field = title
wrap = selected="selected" >|</option>
if {
value.field = uid
equals.data = GPvar:menu1
}

}
21 = TEXT
21 {
field = title
wrap = >|</option>
if {
value.field = uid
equals.data = GPvar:tx_ttnews|cat
negate = 1
}
}
}
}


52 = CONTENT
52 {
wrap = <td><select name="menu2" class="list_style"><option value="">Spieltag</option>|</select></td>
table = tt_news_cat
select {
            # the category folder(s)
pidInList = 2
andWhere = parent_category = 44
}
renderObj = COA

renderObj {
10 = TEXT
10.field = uid
10.wrap = <option value="|"
20 = TEXT
20 {
field = title
wrap = selected="selected" >|</option>
if {
value.field = uid
equals.data = GPvar:menu2
}

}
21 = TEXT
21 {
field = title
wrap = >|</option>
if {
value.field = uid
equals.data = GPvar:tx_ttnews|cat
negate = 1
}
}
}
}


}

lib.nav_saison < plugin.tt_news
lib.nav_saison {
code >
code = LIST
listOrderBy = title asc
categoryMode = 2
categorySelection = TEXT
categorySelection.dataWrap = {GPvar:menu1},{GPvar:menu2}
pid_list = 34, 85
}
Mit Zitat antworten