Sub Menu as Drop down Menu and Static menu

dcistudios

Avatar: dcistudios

2010-01-19 14:32

Hi everyone.

I would like to know how to mod quick.cms so as to have the sub categories appear in a js/css drop menu and also have the sub categories listed as a static menu in the left column.

Let us say I have

01.0 Home

02.0 About
02.1 About Sub 01
02.2 About Sub 02

03.0 Services
03.1 Services Sub 01
03.2 Services Sub 02

If you mouse over the about section, it will show the 2 sub categories in a drop down menu, and when you mouse over services, it will show the 2 sub sections.

Now if you click on any of the categories in the About section, the following menu should be visible on the left panel as well.

02.0 About
02.1 About Sub 01
02.2 About Sub 02

In case any of the categories under Services is clicked, then the static menu on the left should display the sub categories of the Services section.

03.0 Services
03.1 Services Sub 01
03.2 Services Sub 02

» Quick.Cart v2.x

Makaron

Avatar: Makaron

2010-01-19 15:43

Did You read this topic: http://opensolution.org/Quick.Cms/forum/?p=readTopic&nr=756 ? It should help You.

dcistudios

Avatar: dcistudios

2010-01-20 08:21

Thanks Makaron. That worked great for the drop down menu. Any pointers as how to have the static menu on the left show up depending on which section you are in? Any help will be greatly appreciated.

dcistudios

Avatar: dcistudios

2010-01-20 08:32

I have just realized that the above js code has compatibility issues with IE6. The drop down menus do not show up!

dcistudios

Avatar: dcistudios

2010-01-20 10:07

For the sticky submenu, I have added this

$sLeftMenuPages = $oPage->listSubpages( $iContent, 'pages_1.tpl', 1 );

to templates/default.php and in templates/container/tpl, added the variable

$sLeftMenuPages

The sub menu items now shows up, but only if you are on the main section. In other words, the menu disappears when you click on any of the sub sections.

Any ideas how solve this?

THanks in advance.

Back to top
about us | contact