Knowledge Base

Link Menu

Last Modified:
01 Feb 2019
User Level:
Power User

Description

The Link Menu Navigation Object allows you to implement a series of clickable links to other Sections. The top menu and side menus on a website are often built using Link Menu Navigation Objects.

How to create a Link Menu

To create this object, go to Assets > Navigation and click Create new navigation and select Link Menu.

After completing the standard options used for all types of Navigation Objects, fill in each of the following, where relevant:

ItemDescription
Menu type
  • Branch at level: links are to Sections found at the specified level in your branch.
  • Children: links are to the child Sections of the current or specific Section. Additional options can be specified.
  • Siblings: links are to the sibling Sections of the current Section.
  • Siblings and children: links are to the sibling and child Sections of the current Section.
Display method
  • Normal menu: plain HTML links. This is the recommended option.
  • JavaScript drop-down: each link is an option in a select box. The visitor jumps to the link by clicking it.
Level to branch for links This appears if the menu type is Branch at level and allows the user to specify the level at which the navigation should start. Level 1 is the root section (or home section) of the current channel.
Levels to recurse This appears if the menu type is Branch at level. Specify the number of additional levels of sub-navigation to show. For example, if this is a value of 2, the navigation will start at the level selected to start, and show an additional 2 levels below that.
Always output children of a specific section? This appears if the menu type is Children. If not checked, the child Sections of the current Section are output. If checked, you need to specify the Section you want to output from.
Show siblings if no children This appears if the menu type is Children. It outputs the Section's siblings if no children are available.
Show ancestors if no children or siblings This appears if the menu type is Children. If the current Section has no children, the tree is traversed until a Section with children is encountered. This option overrides the value of Show siblings if no children.
Use currentbranchN class Each link in the current branch gets its own span class of "currentbranchN" where N is that particular Section's level in the Channel hierarchy.
Make current section a link? Checkbox to make the current Section a link, if it is included in the menu. If unchecked, the current section will not be a link.
Show children of non-current sections Checkbox to output the children of all Sections, similar to a Site map. This is only relevant if the menu type is Branch at level. The Levels to recurse option will determine how many levels deep are displayed on each page.
Sub-navigation Appears if the Menu type is Branch at level or Siblings and children. Select the markup that should be used for the submenu lists. HTML ul (unordered lists) are recommended for compliance with XHTML standards.
Title before menu The title you wish to output before the menu, or leave it blank.
Add the section's name in front of the title If Title before menu is completed, and you tick this box, it places the section's name in front of the title.
Before menu HTML HTML output before the menu.
After menu HTML HTML output after the menu.
Before link HTML HTML output before each link in the menu.
After link HTML HTML output after each link in the menu. 
Between links HTML HTML output between each link in the menu.

Review your entries and selections, if you are satisfied with your entries, click Next to generate the object.

Once generated, highlight the T4 Tag Embed Code, copy to your clipboard (Ctrl+C) and paste into a Page Layout or Content Layout or a Content Item.