[TYPO3-shop] Commerce Navigation Re: Multilanguage Commerce site
Amiran Chyb
amiran.chyb at stopspam.gmail.com
Wed Nov 1 14:08:09 CET 2006
>> There are bugs in static TS (eg. lib.tx_commerce.navigation where
>> TMENU's are defined inside .special { } )
>
> No bug...
> with TMENU inside special, the class gets the information how many
> levels it should render...
>
> Greetings Volker
Thanks for info, and excuse my wrong supposition.
I thought it was a bug since such use is undocumented and ... it just
doesn't work :) (for me, naturally)
Only after getting TMENU definition out of .special the menu appeared (and
after setting NO item states).
Do you have any idea why? With my setup (below) menu unfolds without
problems. Also, I don't get how HMENU could know the submenus type if it's
expecting it in HMENU "root" level instead of .special {} .
Alas, I have an already mentioned problem with expAll doesn't working -
maybe it has something to do with what you've said? Actually that's the
biggest problem for me, I don't know any workaround.
thanks for any suggetsions
my working setup (default lib.tx_commerce.navigation doesn't output
anything): (I'm using RC1)
lib.cat_menu = HMENU
lib.cat_menu {
special = userfunction
special.userFunc = user_tx_commerce_catmenu_pub->init
special {
// category for starting level
category = 2
// shows Producte
showProducts = 1
// PID for the announcement of the side
//overridePid = {$plugin.tx_commerce_lib.overridePid} //86
#showNonLocalized = 1
}
1 = TMENU
1.expAll=1
1.NO = {}
2 = TMENU
2.expAll=1
2.NO = {}
3 = TMENU
3.NO = {}
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-tt-products
mailing list