Version 1 (modified by 15 years ago) (diff) | ,
---|
Flexible Wiki Plugin
Description
Plugin allows to make flexible structure of wiki pages. For any of wiki pages parent page can be set up. So we get flexible structure instead of 'plain' wiki structure.
Bugs/Feature Requests
Existing bugs and feature requests for FlexibleWikiPlugin are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from [download:flexiblewikiplugin here].
Source
You can check out FlexibleWikiPlugin from here using Subversion, or browse the source with Trac.
Example
After installing plugin you will need to upgrade your environment.
You will get an extra item New page in mainnav, which opens page creation dialog. You can set up title and name, and parent is set up automatically by current page. Thus, you can create 'sub-pages' for any page.
Each page now has extra properties:
- title: string, just page title, appears in menu and on each of pages
- parent: name of parent wiki page or empty if none
- weight: number, defines page ordering in menu
- hide: flag, if set, page won't appear in menu generated by [[TracFlexWikiTreeMacro]]
They can be changed in page edit dialog.
Additional macros
Plugin provides extra wiki macros.
[[TracFlexWikiTreeMacro]]
Shows wiki pages tree menu. Menu is generated as simple unordered list. Macro receives one optional parameter class, wich defines CSS class of menu.
Example:
[[TracFlexWikiTreeMacro(class=flex-menu)]]
Further development
Some features are not implemented yet, like site map etc.
Plugin is a bit tricky. It adds extra key 'node'
to request.args
, that is instance of class TracFlexWikiNode
, which provides something like API for this plugin.
Feedback is welcome!
Recent Changes
Author/Contributors
Author: rudyryk
Contributors:
Attachments (2)
-
flexiblewikiplugin-scr1.jpg (211.1 KB) - added by 15 years ago.
Edit page screenshot
-
site.html (833 bytes) - added by 14 years ago.
Example template with TracFlexWikiTree in sidebar
Download all attachments as: .zip