[TYPO3-commerce] Subcategories in a seperated menu
H.E.Weenink | Aristo WebDesign
h.e.weenink at aristo-webdesign.nl
Mon Nov 12 13:01:42 CET 2007
Hello Ricardo,
Thanks for your answer. But how to make it dynamic? So it uses actual catuid
of CategoryMenu?
Eef
-----Oorspronkelijk bericht-----
Van: typo3-project-commerce-bounces at lists.netfielders.de
[mailto:typo3-project-commerce-bounces at lists.netfielders.de] Namens Ricardo
Mieres
Verzonden: maandag 12 november 2007 12:16
Aan: typo3-project-commerce at lists.netfielders.de
Onderwerp: Re: [TYPO3-commerce] Subcategories in a seperated menu
H.E.Weenink | Aristo WebDesign wrote:
> Dear People, I have commece running and categories show in a nice menu,
> with many thanks to you all.
> Next step is to show subcategories on a different place on the screen.
When
> doing pages-menus I would use entrylevel to get rid of toplevel. but....
> this does not work on userfunc menu. How to get this done. Below the
> typoscript (I use TV) what I used uptill now, but the SubCategoryMenu
keeps
> showing ALL categories. Is it possible to feed the SubCategoryMenu with
> information of the CategoryMenu or something like that?
> Must be a problem some of you allready solved before. Please help,
Regards,
> Eef
>
> # Shopmenu (Grundeinstellungen)
> lib.CategoryMenu = HMENU
> lib.CategoryMenu {
> 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="mainmenu">|</ul>
> itemArrayProcFunc = user_tx_commerce_catmenu_pub->clear
> expAll = 1
> noBlur = 1
> NO.wrapItemAndSub = <li>|</li>
> ACT = 1
> ACT.wrapItemAndSub = <li>|</li>
> }
> }
>
> lib.SubCategoryMenu = HMENU
> lib.SubCategoryMenu {
> special = userfunction
> special.userFunc = user_tx_commerce_catmenu_pub->init
> special {
> category = {$plugin.tx_commerce_lib.catUid}
Hi,
In the configuration of the subcategory you have to select another
category UID, it must be a subcategory.
> showProducts = 1
> overridePid = {$plugin.tx_commerce_lib.overridePid}
> }
> 1 = TMENU
> 1 {
> wrap = <ul class="mainmenu">|</ul>
> itemArrayProcFunc = user_tx_commerce_catmenu_pub->clear
> expAll = 1
> noBlur = 1
> NO.wrapItemAndSub = <li>|</li>
> ACT = 1
> ACT.wrapItemAndSub = <li>|</li>
> }
>
> 2 < .1
> 3 < .1
> }
>
_______________________________________________
TYPO3-project-commerce mailing list
TYPO3-project-commerce at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce
More information about the TYPO3-project-commerce
mailing list