[Solved] Problem with menu

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
kkeliov
Forum Members
Forum Members
Posts: 10
Joined: Sat Aug 08, 2009 7:17 pm

[Solved] Problem with menu

Post by kkeliov »

Hi to all,

I'm using MLE 1.6.6. and i have a problem with the menu.

Like horizontal menu ( cssmenu.tpl) i have the following structure:
+Link1
-Sub-link 1
-Sub-link 2
+Link2
-Sub-link 1
-Sub-link 2
+Link3
-Sub-link 1
-Sub-link 2

And like vertical menu (using another template) i have:

Link4 (Section header)
+Link4.1
-Sub-link 1
-Sub-link 2
+Link4.2
-Sub-link 1
-Sub-link 2
...
+Link4.10
-Sub-link 1
-Sub-link 2.

I'm using the next parameters to vertical menu - start_level='2' collapse='0'. And it works - Link4.1 to Link4.10 are shown, but when i try to open links from the horizontal menu, the repective horizontal submenu is showing instead the vertical menu, on his place. When i open the index everything is ok.

I want to show like vertical menu Link4.1 to Link4.10., but what parameters should i use in this case?

Thanks in advance to everyone!
Last edited by kkeliov on Thu Jun 24, 2010 7:02 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Problem with menu

Post by Dr.CSS »

start_level= takes the second level of the top active menu item...
Peciura

Re: Problem with menu

Post by Peciura »

Try for vertical menu

Code: Select all

{menu start_element='4' start_level='2' collapse='0' }
or

Code: Select all

{menu start_element='4.1'  show_root_siblings='1' collapse='0' }
kkeliov
Forum Members
Forum Members
Posts: 10
Joined: Sat Aug 08, 2009 7:17 pm

Re: Problem with menu

Post by kkeliov »

Peciura wrote:

Code: Select all

{menu start_element='4.1'  show_root_siblings='1' collapse='0' }

Peciura, thank you very much! This code is the answer of my problem.

Thanks again!
Locked

Return to “[locked] CMSMS MLE fork”