Changes between Initial Version and Version 1 of FlexibleWikiPlugin


Ignore:
Timestamp:
Apr 24, 2009, 5:27:58 PM (15 years ago)
Author:
Alexey Kinyov
Comment:

New hack FlexibleWikiPlugin, created by rudyryk

Legend:

Unmodified
Added
Removed
Modified
  • FlexibleWikiPlugin

    v1 v1  
     1= Flexible Wiki Plugin =
     2
     3== Description ==
     4
     5Plugin 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.
     6
     7== Bugs/Feature Requests ==
     8
     9Existing bugs and feature requests for FlexibleWikiPlugin are
     10[report:9?COMPONENT=FlexibleWikiPlugin here].
     11
     12If you have any issues, create a
     13[http://trac-hacks.org/newticket?component=FlexibleWikiPlugin&owner=rudyryk new ticket].
     14
     15== Download ==
     16
     17Download the zipped source from [download:flexiblewikiplugin here].
     18
     19== Source ==
     20
     21You can check out FlexibleWikiPlugin from [http://trac-hacks.org/svn/flexiblewikiplugin here] using Subversion, or [source:flexiblewikiplugin browse the source] with Trac.
     22
     23== Example ==
     24
     25After installing plugin you will need to '''upgrade''' your environment.
     26
     27You 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.
     28
     29Each page now has extra properties:
     30 
     31 * '''title''': string, just page title, appears in menu and on each of pages
     32 * '''parent''': name of parent wiki page or empty if none
     33 * '''weight''': number, defines page ordering in menu
     34 * '''hide''': flag, if set, page won't appear in menu generated by ![[TracFlexWikiTreeMacro]]
     35
     36They can be changed in page edit dialog.
     37
     38=== Additional macros ===
     39
     40Plugin provides extra wiki macros.
     41
     42{{{[[TracFlexWikiTreeMacro]]}}}
     43
     44 Shows wiki pages tree menu. Menu is generated as simple unordered list. Macro receives one optional parameter ''class'', wich defines CSS class of menu.
     45
     46Example:
     47{{{
     48[[TracFlexWikiTreeMacro(class=flex-menu)]]
     49}}}
     50
     51=== Further development ===
     52
     53Some features are not implemented yet, like ''site map'' etc.
     54
     55Plugin 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.
     56
     57Feedback is welcome!
     58
     59== Recent Changes ==
     60
     61[[ChangeLog(flexiblewikiplugin, 3)]]
     62
     63== Author/Contributors ==
     64
     65'''Author:''' [wiki:rudyryk] [[BR]]
     66'''Contributors:'''