Changes between Version 8 and Version 9 of IcalViewPlugin
- Timestamp:
- Jul 27, 2009, 3:45:40 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IcalViewPlugin
v8 v9 7 7 == Usage == 8 8 9 Zero 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 9 11 === Setup custom fields for date and duration === 10 12 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]).13 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, and set this new field as the dtstart field for events in (see [http://tools.ietf.org/html/rfc2445 RFC/2445]). 12 14 13 15 trac.ini 14 16 {{{ 15 17 [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 18 my_custom_dtstart_field = text 19 my_custom_dtstart_field.label = Planned Date 26 20 27 21 [icalendar] 28 dtstart = my_custom_dtstart 22 dtstart = my_custom_dtstart_field 29 23 }}} 30 24 … … 32 26 {{{ 33 27 [ticket-custom] 34 dtstart = text 35 dtstart.label = Planned Date 28 ... 29 my_custom_duration_field = text 30 my_custom_duration_field.label = Duration in days 36 31 37 duration = text38 duration.label = Duration in days39 }}}40 41 To use another field name :42 43 {{{44 32 [icalendar] 45 duration = my_custom_duration_field _name33 duration = my_custom_duration_field 46 34 }}} 47 35