[TYPO3-commerce] Shop Navigation does not show up with alternative Site Language
Stefan Kraus - NETFORMIC GmbH
stefan.kraus at netformic.de
Wed Mar 11 15:13:04 CET 2009
Hello,
My Project is a Multilanguage-Page with two Commerce-Shops
tx_commerce 0.9.8
graytree 0.2.1
I'm using following TS Code for my Shop Category + Product Menu:
##########################################
lib.navigationCommerce = HMENU
lib.navigationCommerce {
special = userfunction
special {
userFunc = user_tx_commerce_catmenu_pub->init
#category = 2
category = {$plugin.tx_commerce_lib.catUid}
showProducts = 1
expAll = 1
overridePid = {$plugin.tx_commerce_lib.overridePid}
}
1 = TMENU
1 {
wrap = <ul class="navigation-vertical-1">|</ul>
itemArrayProcFunc = user_tx_commerce_catmenu_pub->clear
noBlur = 1
NO.wrapItemAndSub = <li><span class="navigation-vertical-1-span">|</span></li>
ACT = 1
ACT.doNotLinkIt = 1
ACT.wrapItemAndSub = <li class="navigation-level1-active"><span class="navigation-vertical-1-active-span">|</span></li>
CUR = 1
CUR.doNotLinkIt = 1
CUR.wrapItemAndSub = <li class="navigation-level1-active"><span class="navigation-vertical-1-active-span">|</span></li>
}
... then the levels 2, 3, 4, 5 ...
}
##########################################
In my default Langugae "german" everything is fine. When i switch to my alternativeSite Langugae "english" the Menu is not showing up.
When i look at the output from the user_tx_commerce_catmenu_pub, the array in $mTree it's all the same,
just the English titles instead of the german titles. Same IDs and everything.
So perhaps the HMENU Function does not output my Menu?
The normal Navigation and Content are displayed in german and english without errors.
Did anyone have this Error and cann tell me where to look for the solution?
Mit freundlichen Grüßen
Stefan Kraus
Senior Web-Developer
____________________________________________
Direkt:
E-Mail: stefan.kraus at netformic.de
NETFORMIC GmbH
Hermannstraße 5A
70178 Stuttgart
Telefon: +49 (0)711 673740-0
Telefax: +49 (0)711 673740-26
Internet: http://www.netformic.de
Amtsgericht Stuttgart, HRB 720729
Geschäftsführer: Stephan Sigloch, Timo Weltner
____________________________________________
Wir bei Google Maps: http://miclink.de/21774 <http://miclink.de/21774>
More information about the TYPO3-project-commerce
mailing list