I followed the instructions here -> http://opensolution.org/Quick.Cart/docs/?id=tips&s=producers#how_to_add_next_menu
I could achieve to make a new category on the same level as Producers, Hidden Pages, Top Menu Above logo etc..., I can see it in the administration panel, also can add products and pages.
However, this category is only visible in the admin, I want it to display in the left menu as an extra 'Button'.
Extra clarification of what I mean exactly, when you look at the demo, you see 2 buttons -> "Categories" and "Producers". On the left side navbar. What I'm trying to do is add a third one..
By default, 4 types of menu (2 upper and 2 on the left side) are displayed. If you want to add next type of menu for example on the left side, execute following steps:
■edit “config/lang_pl.php” file and change $aMenuTypes[1] = 'Top menu above logo'; $aMenuTypes[2] = 'Top menu under logo'; $aMenuTypes[3] = 'Categories'; $aMenuTypes[4] = 'Producers';to
$aMenuTypes[1] = 'Top menu above logo'; $aMenuTypes[2] = 'Top menu under logo'; $aMenuTypes[3] = 'Categories'; $aMenuTypes[4] = 'Producers'; $aMenuTypes[5] = enter here name for new menu';■create new file in “templates/” directory, name it “menu_5.tpl” and copy content of e.g. “menu_4.tpl” file to the new one, ■edit “templates/themes/default.php” file and add code $sMenu5 = $oPage->throwMenu( 'menu_5.tpl', 5, $iContent, 1 );■edit “templates/container.tpl” and add $sMenu5 variable behind e.g. $sMenu4 variable in this file, ■log in to administration and add pages to this type of menu.
In the admin i have add pages to this menu, but it is not display on my site.
Maybe You didn't add $sMenu5 variable to file templates/container.tpl. This instruction is right and if You didn't make any mistake new menu should be visible.
I did that olso, but then 6 and 7 page 5 is hidden pages. Maby is there somthing else what must done.?
I have an other, if i put somthig in the basket then display on the left a box with that product, i will place there de basket, how must i do that? SORRY FOR MY ENGLISH it is not verry well.
Greetz
QC 3.0 EXT
kalanta
2009-06-15 13:23
This forum is for freeware only- we can't give you any tips about EXT version.
After adding the new button you have also to tweak the "default.css" file (or any other .css file you use) if you want the new button menu to be the same as the other menus.
Also you have to pay attention when you edit the "default.php". My mistake was that i follow step by step the instructions and add this string: "$sMenu5 = $oPage->throwMenu( 'menu_5.tpl', 5, $iContent, 2 );" although i was planing to add an new menu called "menu6". I edit the latter part of the string changing the 'menu_5.tpl' part to 'menu_6.tpl' but i totally forgot to change the firts part of the string ("$sMenu5) to "$sMenu6. So even after adding the "$sMenu6" variable to "container.tpl" i can't see any change. It take me almost half an hour to figure out what happen - :)