NP_Menu.php

This Plugin is currently not available.

NP_Menu renders a navigational menu that allows you to include static content elements next to Nucleus' own content. In the plugin configuration page, you can enter the menu elements and their respective HTML files. All files need to be stored into the same directory, which also has to be passed to the plugin.

The plugin then renders a collection of links enclosed in <div> tags: menu_item for an inactive menu item and menu_active_item for an active menu item. You should include formatting instructions for these items in your CSS file.

Additionally, in order for the plugin to create sane links, you will need the following section in your .htaccess file:

RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^[^/]*\.html$ /index.php?menu_item=$1 [QSA]

If the user clicks on one of the menu items, the plugin will attempt to load the respective HTML file and includes it in the page output. Doing this requires to comment out the dynamic section which Nucleus renders, so be sure that you don't have comment tags in your dynamic code. This is an ugly solution to include static content, but as far as I know, Nucleus does not provide any other possibilities so far. Eventually, I will try to hook the Pre* events and clear all item contents in a future version.

No Funca

Download at http://www.tillgerken.de Current version here: http://www.tillgerken.de/files/nucleus/NP_Menu.0.1.tar.gz

404 File not found -Matt

menu.txt · Last modified: 2006/07/05 13:03 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki