#1  
Alt 07.11.09, 17:05
Forum Newbie
 
Registriert seit: 22.10.08
Beiträge: 27
catmenu in subparts

Hallo zusammen,
ich möchte gern die Kategorien aus meinem Shop im Menü anzeigen.

Das Menü nur mit Kategorien bekomme ich hin:
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:
page.10 {
subparts {
col2_content = HMENU
col2_content {
special = userfunction
special.userFunc = user_tx_commerce_catmenu_pub->init
special{
category = {$plugin.tx_commerce_lib.catUid}
showProducts = 1
overridePid = {$plugin.tx_commerce_lib.overridePid}
1 = TMENU
1.expAll = 0
1.wrap= <ul>|</ul>
1.noBlur = 1

1.NO = 1
1.NO.ATagTitle.field = title
1.NO.linkWrap = <li>|</li>

1.ACT = 1
1.ACT < .NO
1.ACT.ATagTitle.field = title
1.ACT.ATagParams = class="active"
1.ACT.linkWrap = <li>|</li>

1.ACTIFSUB < .ACT
1.ACTIFSUB = 1
1.ACTIFSUB.ATagTitle.field = title
1.ACTIFSUB.ATagParams = class="active"
1.ACTIFSUB.linkWrap = <li>|    

2 = TMENU
3 = TMENU
4 = TMENU
}
1.itemArrayProcFunc  = user_tx_commerce_catmenu_pub->clear
2.itemArrayProcFunc  = user_tx_commerce_catmenu_pub->clear
3.itemArrayProcFunc  = user_tx_commerce_catmenu_pub->clear
}
}
}

Aber, wie baue ich das catmenu nun in den subpart.
Conditions dürfen ja wohl nicht in Eckige klammern.
Dies geht jedenfalls nicht:
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:
#catmenue
temp.catmenu = HMENU
temp.catmenu {
special = userfunction
special.userFunc = user_tx_commerce_catmenu_pub->init
special{
category = {$plugin.tx_commerce_lib.catUid}
showProducts = 1
overridePid = {$plugin.tx_commerce_lib.overridePid}
1 = TMENU
1.expAll = 0
1.wrap= <ul>|</ul>
1.noBlur = 1

1.NO = 1
1.NO.ATagTitle.field = title
1.NO.linkWrap = <li>|</li>

1.ACT = 1
1.ACT < .NO
1.ACT.ATagTitle.field = title
1.ACT.ATagParams = class="active"
1.ACT.linkWrap = <li>|</li>


1.ACTIFSUB < .ACT
1.ACTIFSUB = 1
1.ACTIFSUB.ATagTitle.field = title
1.ACTIFSUB.ATagParams = class="active"
1.ACTIFSUB.linkWrap = <li>|    
2 = TMENU
3 = TMENU
4 = TMENU
}
1.itemArrayProcFunc  = user_tx_commerce_catmenu_pub->clear
2.itemArrayProcFunc  = user_tx_commerce_catmenu_pub->clear
3.itemArrayProcFunc  = user_tx_commerce_catmenu_pub->clear
}
#shop-navi
page.10 {
subparts {
col2_content = HMENU
col2_content {
1 = TMENU
1 {
expAll = 1
wrap = <ul class="vlist">|</ul>
NO = 1
NO {
wrapItemAndSub = <li>|</li>
}
CUR = 1
CUR {
wrapItemAndSub = <li class="active">|</li>
}          
}
2 < .1
2.wrap = <ul>|</ul>
3 < .2
}    
}
}  
# Ab PID 23 (Onlineshop) zusätzlich Shopmenü einfügen
[PIDinRootline = 23]
page.10.subparts.col2_content.1 {
ACT {
after.cObject = HMENU
after.cObject < temp.catmenu
}
}
[END]

stimmt temp.catmenu überhaupt?

Würde mich über eine Antwort freuen.
Gruß ele
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
Sponsored Links
Unterstützen Sie das Forum und buchen Sie Ihren Webspace beim
T3N Testsieger, dem Webhoster der auch dieses Forum hostet!


  #2  
Alt 11.11.09, 14:04
Forum Newbie
 
Registriert seit: 22.10.08
Beiträge: 27
Daumen hoch catmenu in subparts gelöst

Hallo zusammen,
es geht mit catmenu.

Es lag nicht an temp. sondern an meinem Menü.
Hier der richtige code:

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:
# Shopmenu (Grundeinstellungen)
temp.catmenu = HMENU
temp.catmenu {
special = userfunction
special.userFunc = user_tx_commerce_catmenu_pub->init
special {
category = {$plugin.tx_commerce_lib.catUid}
showProducts = 1
overridePid = {$plugin.tx_commerce_lib.overridePid}
}

1 = TMENU
1 {
wrap = <ul class="vlist">|</ul>
itemArrayProcFunc = user_tx_commerce_catmenu_pub->clear
expAll = 1
noBlur = 1

NO.wrapItemAndSub = <li>|</li>

ACT = 1
ACT.wrapItemAndSub = <li class="active">|</li>
}

2 < .1
2.wrap = <ul>|</ul>
3 < .1
}

# Menü
page.10 {
subparts {
col2_content = HMENU
col2_content {
1 = TMENU
1 {
wrap = <ul class="vlist">|</ul>
noBlur = 1

NO.ATagTitle.field = subtitle // title
NO.allWrap =  <li>|</li>
NO.stdWrap.htmlSpecialChars = 1

ACT = 1
ACT.wrapItemAndSub = <li class="active">|</li>
ACT.ATagTitle.field = subtitle // title
ACT.stdWrap.htmlSpecialChars = 1
}
2 < .1
3 < .1
}
}
}






# Ab PID 23 (Onlineshop) zusätzlich Shopmenü einfügen
[PIDinRootline = 23]
page.10.subparts.col2_content.1 {
ACT {
after.cObject = HMENU
after.cObject < temp.catmenu
}
}
[END]
Das eröffnet ja ganz neue Möglichkeiten.
Gruß ele
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
"Select a category:" Link aus CATMENU entfernen? Denga News (tt_news, mininews und Co) 7 04.09.09 15:44
Catmenu auf Single Seite kuhtreiber News (tt_news, mininews und Co) 3 13.08.08 08:32
Falsche Verlinkung im CATMENU Arci News (tt_news, mininews und Co) 3 01.10.07 22:10
CATMENU & shortcuts boxi News (tt_news, mininews und Co) 2 27.04.07 07:33
Mehrere Subparts, davon zwei mit pidInList snoy TYPO3 4.x Fragen und Probleme 2 06.08.06 20:30


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:14 Uhr.


Powered by vBulletin® Version 3.8.4 (Deutsch)
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2

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