wiki:NavAddPlugin

Version 1 (modified by otaku42, 8 years ago) (diff)

New hack NavAddPlugin, created by otaku42

Add custom items to main and meta navigation bar

Description

This plugin allows you to add custom items ("buttons") to both the main and the meta navigation bar.

to be continued

Bugs/Feature Requests

Existing bugs and feature requests for NavAddPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out NavAddPlugin from here using Subversion, or browse the source with Trac.

Example

This is the configuration I use on madwifi.org to add a link to the imprint in the meta navigation bar, and a link to our download section on sf.net in the main navigation bar.

[navadd]
add_items = imprint,download
imprint.title = Impressum/Imprint
imprint.url = /wiki/Impressum
#imprint.perm = WIKI_VIEW
imprint.target = metanav
download.title = Download
download.url = http://sourceforge.net/project/showfiles.php?group_id=82936&package_id=85233
#download.perm = WIKI_VIEW
download.target = mainnav

Recent Changes

[13554] by rjollos on 2014-01-08 17:46:30
0.3: An href starting with a / is relative to the base URL, and absolute URLs are treated as such. Fixes #11443.

Removed some unused code. Thanks to ryank-inovonics for the patch.

[13385] by rjollos on 2013-09-10 10:46:37
Refs #940: Refactor code to use a ListOption and add doc. Bumped version to 0.2.
[13384] by rjollos on 2013-09-10 10:46:25
Renamed 0.9 directory to trunk`.

Author/Contributors

Author: otaku42
Contributors: