Menuing

From Contensive Wiki
Jump to: navigation, search

The menuing collection contains an addon called Menu that builds an html list-based menu for website pages and templates. It also contains two other legacy menu addons that support older layouts, the Dynamic Menu and the Menu-Legacy.

If you are content manager interested in managing the sections in your menu, continue reading here. If you are a designer or developer creating or modifying a menu instance, skip to Menu Development below.

To Add a Menu to a Page

Add the menu addon to your template or page. turn on Advanced Edit and click on the menu addon's option icon Create a new menu or select a menu already created and hit apply To Add a New Section to a Menu

Turn on edit and click the Add Section icon to the right (or bottom) of menu's sections Enter the name of the new section and hit OK Menu Development


In the Menung Collection, the currently supported addon is called "Menu" and creates a ul/li based menu construct.

A page can include multiple menu instances. You create a menu instance by adding the Menu add-on to your page or template.


Menu features such as the style class names used and javascript control are stored in Dynamic Menu records, found in the admin site under Manage Design.


A menu is a list of website sections. Each site section points to a single page, to which other child pages can be attached in a tree fashion. You set the depth of the tree structure in the Dynamic Menu record created for the menu.

When a Menu is first displayed, it is configured to use the Dynamic Menu record named "Default", which is created automatically if it is missing.

Menu Styles and Features

Menu features are stored in Dynamic Menu records. To edit these records log on to the admin site and go to the navigator >> Manage Design >> click on Menus

Menu Depth determines how many ul/li levels will be included in the menu.

The Layout (vertical or horizontal) controls the class of the second tier wrapper in the html contruct. See the example below. Set horizontal and class is set to layoutHorizontal. Set vertical and it becomes layoutVertical.

The javascript tab enables optional javascript flyouts. This can be disabled so you can control your menus with only CSS. Enabling javascript creates either hover or click events for each menu level.

The styles tabe controls the css class names used for each node and tier of the menu html. See the example below. Setting the fields in the Styles tab will change the class names that appear in the html.

Finally, the sections tab lets you pick which sections will appear in this menu.

Creating Multiple Menu Instances

To create a second menu instance, add it to the page's content or site template.

To change the menu so it is controlled by a different Dynamic Menu record, turn on advanced edit and view the page. Click the add-on options icon above the menu and select or enter the name of a Dynamic Menu record.

Sample html

The following HTML is provided for those who wish to create a custom css stylesheet.

This html represents sections / pages is the following structure.

Home Section2 Section3 Section3tier2 Section3tier3




  • <a class="activeItem firstItem topItem" title="Home" href="/Home">Home</a>

  • <a class="topItem" title="Section2" href="/Section2">Section2</a>

  • <a class="lastItem topItem" title="Section3" href="/Section3">Section3</a>


    • <a title="Section3tier2" class="lastItem firstItem tierItem" href="/Section3tier2">Section3tier2 »</a>


      • <a title="Section3tier3" class="lastItem firstItem tierItem" href="/Section3tier3">Section3tier3</a>