Web Services Wiki
Welcome Guest: Login
Ed. Note: the 'submenus' feature described here is for the bu template. This functionality has been expanded and now applies to the two settings in the bu-layout template: menu above content and menu below content.
These are also now called "content menus", so this document needs to be renamed.
This article describes how to place a list of links below the page title using the 'Submenu' property of the BU Template.
Submenus are a list of links below the page title. This list of links can be the same on every page of the site, there can a different list of links on each page, or a combination of the two can be used.
Submenus are edited the same way left navigation menus are. At the bottom of the 'template' of the site's container, there should be at least two menus. The 'defaultMenu' is the left navigation menu. The 'submenu' is used to add submenus to the site. Only internal or external document menu types should be used for submenus.
When editing the submenu, notice that there is a menu item called 'all'. Any items added within this menu will be displayed on all pages of the site.
Displaying different links on each page is a bit more involved. Take note of pages which have the same links so that those links don't need to be added twice.
Suppose we have a site with four pages, two of which have the same links. The finished submenu will look like:
page1 (url: http://mysite.com/aboutus)
page2 (url: http://mysite.com/programs)
page3-4 (urls: http://mysite.com/events, http://mysite.com/promotions)
Notice there are no menu items below "all". This submenu has no links which are on all pages. Links A and B will appear on page1, links C and D on page2, and finally links E and F on pages 3 and 4.
The 'page1', 'page2', and 'page3-4' menu names are not used to determine which set of links go with which urls of the site. The 'locations attached to' property of the menu items page1, page2, and page3-4 is used. This property is a multi-selection combo box which contains a list of all containers and items in a site. For page1, this property would be set to "mysite/aboutus", page2 would have "mysite/programs", and page3-4 would have two selections: "mysite/events" and "mysite/promotions".
Now, lets say this site had a subfolder (called 'registration') for registration-related information which contained 5 web pages, and each page will have the same links. It is possible to do this using the menu editor. Create a new top-level menu item (let's call it reg-pages), place the registration submenu links within this menu item. To display these links on all 5 web pages: for the "locations attached to" property on the 'reg-pages' menu item, select either the 'registration' folder, or all five registration web pages. Selecting the folder is preferred, as then the links will automatically be placed on any new web pages within that folder.