Design and CSS styles
Version 5.x > Design and CSS styles > Menu Items View modes: 
User avatar
Member
Member
Yash - 5/19/2010 3:14:20 PM
   
Menu Items
Hello,

I would like to have different Sub menu items under the main menu Items.

i.e Department should have Finance, IT, Marketing ect.
and also Online Forms should have Award Form, Grant Form, Proposal Form ect.

If I am using cmstreemenu or any other style and path = /Department/% or path = /Online Forms/% I am getting only first one i.e /Department/% and if I change to /Online Forms/% first one is replaced by the later. I am guessing that it uses the same web part (zoneleft) and in the web part you can only have the same menu item.

Could anyone tell me how can I get the different menu items under the main menu items?

Thanks,
Yash

User avatar
Member
Member
gavin.eggheaddesign - 5/20/2010 3:28:16 AM
   
RE:Menu Items
Hi Yash

I am assuming that both the 'Department' and 'Online Form' pages are using the same template? and so the paths you are using are forced no-matter what page the user is viewing. so eg if path set to 'Department' then both pages will list Finance, IT, Marketing ect in the sub-navigation?

Have you tried setting the path to be dynamic? i.e '/{0}/%' the number in the brackets representing the hierarchy level within the CMSDesk tree navigation?

Hope i have understood correctly but let me know if not.

Thanks

Gavin

User avatar
Member
Member
Yash - 5/20/2010 10:06:44 AM
   
RE:Menu Items
Yes you understood correctly. Let me explain what exactly I want and what I am facing.

Departments
-Finance
-IT
-Marketing
-Maintanance

Forms
-Sales
-Purchases
-Repairs
-Misc.

I am using Header Text with Left menu and in that I am defining Path as /Department/% for Department tab and /Forms/% for the Forms tab but both are showing the same subpages. as they are using cmstreemenu in zoneLeft. I have not tried /{0}/% method. I will try that.

Thanks,
Yash

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 5/24/2010 8:58:36 AM
   
RE:Menu Items
Hello Yash,


Yes, the path: /{0}/% is the best way. Thank Gavin for the reply.


Best regards,
Helena Grulichova