Changes between Version 52 and Version 53 of DiscussionPlugin


Ignore:
Timestamp:
Apr 16, 2008 9:57:40 AM (6 years ago)
Author:
Blackhex
Comment:

Documentation updated to r3518.

Legend:

Unmodified
Added
Removed
Modified
  • DiscussionPlugin

    v52 v53  
    3838|| 0.10          || 0.10-stable || 0.5            || 
    3939|| 0.11          || trunk       || 0.6            || 
     40|| trunk         || trunk       || development    || 
    4041 
    41 Main difference between 0.5 and 0.6 version is that 0.6 uses Genshi templates and 0.5 !ClearSilver ones. 
     42Main difference between 0.5 and 0.6 version is that 0.6 uses Genshi templates and 0.5 !ClearSilver ones. Trunk branch may not work so don't use it. 
    4243 
    4344== Installation == 
     
    4849[discussion] 
    4950title = Discussion 
     51default_display = tree 
     52forum_sort = id 
     53forum_sort_direction = asc 
     54topic_sort = id 
     55topic_sort_direction = asc 
    5056}}} 
     57 
     58Option {{{title}}} changes title of main navigation bar button, {{{default_display}}} defines default display mode for message list. Possible values are {{{tree}}}, {{{flat}}}, {{{flat-asc}}} and {{{flat-desc}}}. {{{flat}}} is synonym for {{{flat-desc}}}. {{{forum_sort}}} is column by which will be sorted forum lists. Possible values are: {{{id}}}, {{{group}}}, {{{name}}}, {{{subject}}}, {{{time}}}, {{{moderators}}}, {{{description}}}, {{{topics}}}, {{{replies}}}, {{{lasttopic}}} and {{{lastreply}}}. Topic lists may be sorted with {{{topic_sort}}} option. It has values {{{id}}}, {{{forum}}}, {{{subject}}}, {{{time}}}, {{{author}}}, {{{body}}}, {{{replies}}} and {{{lastreply}}}. Options {{{forum_sort_direction}}} and {{{topic_sort_direction}}} are directions of that sorting. They may be {{{asc}}} and {{{desc}}}. Previous example shows default values for these options. 
    5159 
    5260If you run Trac in environment which needs to enable plugins explicitly put in trac.ini these lines: 
     
    5462{{{ 
    5563[components] 
    56  
    57 # For 0.11 branch. API object is component since then. 
    58 tracdiscussion.api.DiscussionApi = enabled  
     64# Enable this component for 0.11 branch and 0.10 branch from revision r3518. 
     65tracdiscussion.api.DiscussionApi = enabled 
    5966 
    6067tracdiscussion.admin.DiscussionWebAdmin = enabled