To edit an existing menu item or create new ones: Navigate to Web Administration -> Manage Menu. The following describes the properties of a menu item.
-
Title: The label to show on the menu item.
-
URL: The web address you want to link to - if the address is external to your project, indicate by selecting the [External URL] radio. If the address is internal to your project, i.e. you are pointing to a module -> controller -> action in within your project; the URL should look like /moduleName/controllerName/actionName.
-
Parent: The parent for the menu item, this is used in nesting the navigation system.
-
Target: The HTML target attribute for the link item. Use _blank to open in a new tab or window etc.
-
Permitted Roles: The user groups that can see the menu item.
-
Order: The position of the menu item in the navigation. Items with lower order values are listed before ones with higher values.
-
Available in top bar: Set value to [Yes] to make the item available in the top navigation bar.
-
Load in AJAX mode: If value is set to [Yes], the target URL is loaded without reloading the whole page, just the content of the URL is loaded.
The following example is to create a link for the Homepage on the Top Navigation Bar:
-
Title: Home
-
URL: /index/pages/page/home i.e. Module = Index; Controller = Pages; Action = Page. The page action takes an optional parameter (Page Name) that specifies the page you want to render.
-
Available in top bar: YES