Changes between Version 8 and Version 9 of IcalViewPlugin


Ignore:
Timestamp:
Jul 27, 2009 5:45:40 PM (5 years ago)
Author:
xpech
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IcalViewPlugin

    v8 v9  
    77== Usage == 
    88 
     9Zero configuration needed to start using the module. Without start date and duration, tickets can use the due date of associated milestone. To plan tickets the date and duration fields must be set in trac.ini 
     10 
    911=== Setup custom fields for date and duration === 
    1012 
    11 To transform a ticket to an event, we need at least a date. Trac only provide a creation date or an update date. So we need a planned date by adding a custom field. The default name is 'dtstart' (see [http://tools.ietf.org/html/rfc2445 RFC/2445]). 
     13To transform a ticket to an event, we need at least a date. Trac only provide a creation date or an update date. So we need a planned date by adding a custom field, and set this new field as the dtstart field for events in (see [http://tools.ietf.org/html/rfc2445 RFC/2445]). 
    1214 
    1315trac.ini 
    1416{{{ 
    1517[ticket-custom] 
    16 dtstart = text 
    17 dtstart.label = Planned Date 
    18 }}} 
    19  
    20 To use another field name, you can set it in a new configuration section named 'icalendar' : 
    21  
    22 {{{ 
    23 [ticket-custom] 
    24 my_custom_dtstart = text 
    25 dtstart.label = Planned Date 
     18my_custom_dtstart_field = text 
     19my_custom_dtstart_field.label = Planned Date 
    2620 
    2721[icalendar] 
    28 dtstart = my_custom_dtstart 
     22dtstart = my_custom_dtstart_field 
    2923}}} 
    3024 
     
    3226{{{ 
    3327[ticket-custom] 
    34 dtstart = text 
    35 dtstart.label = Planned Date 
     28... 
     29my_custom_duration_field = text 
     30my_custom_duration_field.label = Duration in days 
    3631 
    37 duration = text 
    38 duration.label = Duration in days 
    39 }}} 
    40  
    41 To use another field name : 
    42  
    43 {{{ 
    4432[icalendar] 
    45 duration = my_custom_duration_field_name 
     33duration = my_custom_duration_field 
    4634}}} 
    4735