Menu Builder allows you to have full control over the navigation menu on your site. You can create a custom menu that meets your needs perfectly.
Once you select a menu to edit, Menu Builder displays the current navigation menu options.
This screen shows the current menu structure. By hovering over the icon, you can see information about the menu element.
You can also change the order of the elements by moving them around using the and icons.
To edit the menu element, select the icon.
Creating / Editing Menu Items
When you create or edit a menu element, the entry screen is dynamic and will change depending on the selections. For example, when you choose the Parent, the Display After select box will automatically update to show the existing menu items in that menu. When you select Type, the following entry field will change to reflect the Type selection.
Types of Menus
A sub-menu is a parent for other menu elements. A sub-menu can have its own URL, or the URL field can be empty in which case the label will not be selectable.
This allows you to select several glFusion standard functions for this menu item. Functions include:
Displays a link to the site's home page (main index page)
Link to the story submission page
Link to the Story Directory Page - Displays all story titles by month
Navigates to the user preference page
Link to the Search Page
Link to the Site Statistics page
This allows you to select from several glFusion standard menus. Menus include:
Standard user menu - for non-logged-in users, displays the login box, for logged-in users displays links to My Account
A hierarchical menu of all Administrative actions available to the current user
A hierarchical menu of all topics available to the user (based on topic permissions)
Static Pages Menu
A hierarchical menu of all Static Pages where Add to Menu was selected
A hierarchical menu of all plugins available to the current user
Allows you to select access to any of the installed plugins.
You can specify a direct URL. Menu Builder understands two macros %site_url% will be replaced with the URL to your site. %site_admin_url% will be replaced with the URL to your admin directory.
You can specify a PHP function be called when a menu item is selected.
The PHP function needs to return an array of elements with the following array fields; label, url, target. For example, to return 2 menu entries it would create an array like this: