Design and CSS styles
Version 7.x > Design and CSS styles > How to create different menus for different pages View modes: 
User avatar
Member
Member
k8fisher - 10/15/2013 4:30:15 AM
   
How to create different menus for different pages
Hi,
Im trying to work out the best place to start. Ive a demo site built with a single main menu. What Im looking to do is create sections on the site and create a different main menu for each section

Section A - shows main menu A
Section B - shows main menu B
Section C - shows main menu C

Some pages appear in all three menus, some do not.

Im new to Kentico but have worked on a range of CMS platforms Drupal / Joomla / Magento etc so Im not that new to CMS.

Is this question linked to a setting Ive found at:
(LHS PAGE MENU in CMSDesk) -> Properties -> Template -> Edit template properties -> Inherit content

? It mentions levels of content to inherit level 0 through to 9.

Id appreciate any thoughts,

Many thanks

K

User avatar
Kentico Support
Kentico Support
Accepted solutionAccepted solution
kentico_janh - 10/15/2013 5:59:17 AM
   
RE:How to create different menus for different pages
Hello,

There are many ways to achieve that. Here are two of them:

1) Take advantage of the Visual Inheritance in Kentico and specify different templates with different configuration for each of your section, so the architecture would be Master page (for instance header and footer) -> Menu template (your menu) -> Content template (individual templates for actual content)

2) You can add three different menus next to each other into one template (probably on the master page) and hide those two if the current location doesn't match your specification, so only one menu is visible at the time

Best regards,
Jan Hermann