Changes between Version 7 and Version 8 of FlexibleWikiPlugin


Ignore:
Timestamp:
May 2, 2009, 9:37:59 AM (5 years ago)
Author:
rudyryk
Comment:

more detailed description and examples

Legend:

Unmodified
Added
Removed
Modified
  • FlexibleWikiPlugin

    v7 v8  
    2323== Example ==
    2424
     25For example, if you want to structure pages on your wiki and use 'native' Trac approach, you should name you pages in a specific manner:
     26 * !DevGuide
     27   * !DevGuide/Resources
     28   * !DevGuide/Plugins
     29 * etc.
     30
     31So, page name is 'coupled' with structure - if you want to change structure, you should change page name or even name of many pages.
     32
     33This plugin allows to structure pages idependent on their names. So, structure could be:
     34
     35 * !DevGuide
     36   * !AddingResources
     37   * !AddingPlugins
     38 * etc.
     39
     40In this example pages !AddingResources and !AddingPlugins has parent !DevGuide. So, if you want restructure pages, you should change 'parent' for page or some pages, and their address remain unchanged.
     41
     42When this plugin installed horozontal navigation bar on top of each wiki page is displayed. So, when you watch page !AddingPlugins, navigation bar will be: {{{ WikiStart / DevGuide / AddingPlugins }}}. !WikiStart is always at start of navitation bar.
     43
     44For displaying navigation in 'tree' manner, special macro is provided, see details below.
     45
    2546After installing plugin you will need to '''upgrade''' your environment.
    2647
    27 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.
     48'''Note changes:'''
    2849
    29 Each page now has extra properties:
     50 * you will get an extra item ''New page'' in mainnav, which opens page creation dialog
     51 * in edit page dialog you will see new fields: ''title'', ''parent'', ''weight'', ''hide''
     52
     53'''Extra page properties description:'''
    3054 
    31  * '''title''': string, just page title, appears in menu and on each of pages
     55 * '''title''': string, just page title, automatically displayed on top of page and in navigation
    3256 * '''parent''': name of parent wiki page or empty if none
    3357 * '''weight''': number, defines page ordering in menu
    3458 * '''hide''': flag, if set, page won't appear in menu generated by ![[TracFlexWikiTree]]
    35 
    36 They can be changed in page edit dialog.
    3759
    3860=== Additional macros ===
     
    5072[[TracFlexWikiTree(class=flex-menu)]]
    5173}}}
     74
     75For now, plugin does not generate initial structure data. So, for existring pages structure data is not provided. That means, they are not displayed in {{{TracFlexWikiTree}}} until you edit and save them.
    5276
    5377=== Screenshot ===