10 votes
IP.Content 2.3 Dev Update: Navigation Bar
Our new primary navigation menu manager
Beginning with IP.Content 2.3, there will be a new link under the IP.Content 'Settings' module labeled "Navigation Menu". In order to use this new feature, a hook (provided in the IP.Content download and installed automatically for you) must be enabled - if it is not, the page will show you an error message indicating that the hook must first be enabled before you can utilize the navigation menu manager. Otherwise, you will be presented with a list of the applications installed in their current positioned order (which determines the tab order on the front end).
You can edit these applications from here to perform the following functions:
- Change the tab 'title' (the text that shows when you mouse over the tab)
- Change the application's public title (be aware that third party language packs can override this)
- Toggle whether the tab is hidden or not
- Change the tab permissions (who has access to see the tab)
- Add custom attributes to the anchor tag that is drawn. This is a feature unique to IP.Content, allowing you to add custom onclick handlers, rel attributes, and other similar attributes to your tabs if you have a need.
You can reorder your tabs in any order you like, putting them before, after, or intermingled with your regular application tabs. A handy preview window at the top of the screen allows you to quickly and easily see what the end result will look like, without having to visit the community front end and refresh the page. This preview is shown inside an iframe and is updated automatically whenever you reorder your tabs.
Tabs will automatically highlight when you are viewing that page, and disable associated application tabs from highlighting, if appropriate. For instance, if you link to an IP.Content page, the 'Pages' tab will no longer highlight, since a more appropriate tab has been lit up. Database strings are ignored, so any category or record you view on that page will still cause the tab to light up. Additionally, if you view a page that is linked to within a submenu, the submenu tab will light up.
Here are a few screenshots to give you an idea of the interface
Here is the overview screen, showing the tab bar preview, list of applications, and list of custom tabs you may have added.

Editing an application allows you to manage tab and link related details

Adding a custom tab allows you to create a submenu if you wish to, with an unlimited number of links in it

New tab bar on the front end, complete with custom tabs and a dropdown menu

Wrapping up
And no, that's not a pun based on the fact that Christmas just passed.
- tenaki, The Old Man, NickČ and 23 others like this

Create a custom theme







