expand menu by default

colibri

No avatar

2007-09-05 19:41

Hi,

I'm using the default theme.
I just defined a few categories and subcategories for the menu on the left side.
When a user comes on the website these menu's are not expanded by default, you only see the highest level category.

I would like to have these menu's expanded by default, so that all categories and subcategories are shown at once.
how can I do this?

thx for any help!
Colibri

» Quick.Cart v2.x

colibri

wewior (OpenSolution)

Avatar: wewior

2007-09-06 08:53

just in file index.php change line:
$sMenu1 = listCategories( 'menu_1.tpl', 1, true, Array( $iCategory ) );
to
$sMenu1 = listCategories( 'menu_1.tpl', 1, null, Array( $iCategory ) );

colibri

No avatar

2007-09-07 07:59

Thanks for your help!!

colibri

XRainBoX

Avatar: XRainBoX

2008-07-12 21:02

How to do this on 3.x version? Any ideia?

XRainBoX

treewood (OpenSolution)

Avatar: treewood

2008-07-14 07:53

XRainBoX - edit core/pages.php and find:

if( $iDepthLimit $iDepth && ( $iPageCurrent == $iPage || isset( $this->aPageParents[$iPage] ) ) ){

and replace to

if( $iDepthLimit $iDepth ){

brightandlight

No avatar

2008-07-28 21:54

How is it possible that I can't see the product I have put in the subcategorie. When I place it in the normal categorie I can see this

Marloes

brightandlight

No avatar

2008-07-28 21:54

Version 3

Marloes

Makaron

Avatar: Makaron

2008-07-29 10:13

Maybe checkboxes "Products" in these subcategorries are disabled? Please make new topic when You asking about another thing..

Vinit

No avatar

2009-10-04 09:32

For QuickCart 3.4, you can edit the config/general.php file and change the following line:
$config['display_expanded_menu'] = false;

remove the 'false' set this to true.

- Vinit

cgan

Avatar: cgan

2009-10-04 15:13

Even better - you can set this in admin/settings/options just choose "Yes" in "Display expanded menu"

cgan

Back to top
about us | contact