[TYPO3-commerce] all categories in menu are linking to catUid
Bas van der Togt
bas.vander.togt at efocus.nl
Fri Nov 23 11:32:23 CET 2007
Hello list,
Another problem after upgrading to the svn version. Hopefully somebody
knows a solution to solve this problem.
I've set in the constants: plugin.tx_commerce_lib.catUid = 2 (root page
of all the categories).
All my categories are linking to &tx_commerce_pi1[catUid]=2
But when i add subcategories, the links for this category are repaired.
Any idea?
Kind regards,
Bas
MY TS for the menu:
obj.category_content = HMENU
obj.category_content {
wrap = <ul>|</ul>
special = userfunction
special.userFunc = user_tx_commerce_catmenu_pub->init
special {
category = {$plugin.tx_commerce_lib.catUid}
showProducts = 0
overridePid = {$plugin.tx_commerce_lib.overridePid}
}
1 = TMENU
1 {
expAll = 0
noBlur = 1
NO {
allWrap = <li>|</li>
}
}
2 < .1
2.NO.allWrap = <li><span class="categorie_item">|</span></li>
3 < .2
1.itemArrayProcFunc = user_tx_commerce_catmenu_pub->clear
2.itemArrayProcFunc = user_tx_commerce_catmenu_pub->clear
3.itemArrayProcFunc = user_tx_commerce_catmenu_pub->clear
}
More information about the TYPO3-project-commerce
mailing list