wiki:CalendarPopUpPlugin

Version 9 (modified by rjollos, 4 years ago) (diff)

Added link to related calendar.

Selectable calendar pop-up

Description

Show selectable calendar pop-up where needed. It is easier to see a date rather than insert some date without visualization.

See also: DateFieldPlugin

Bugs/Feature Requests

Existing bugs and feature requests for CalendarPopUpPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out CalendarPopUpPlugin from here using Subversion, or browse the source with Trac.

Howto

First you have to identify all the html-ids of the input fields, where you want the pop up to appear, as well as the html filenames.

Take for example the html file milestone_edit.html and add an entry to trac.ini as shown below. Then you take a look at the html code to find the input fields where you'd like the pop-up to appear. That's the field {{id="duedate"}}.

That leaves us with the following settings, that go into the trac.ini

[calendarpopup]
ids=duedate=MM/dd/yy
files=milestone_edit.html

And in a bigger context:

[calendarpopup]
ids=field-due_assign,field-due_close,duedate=MM/dd/yy
files=milestone_edit.html,ticket.html

Remark: The default (yyy/MM/dd) date format is taken, if not defined by =.

Recent Changes

[7789] by jjbig on 2010-03-21 09:22:23
fixed issue described in #6834
[7711] by jjbig on 2010-02-24 11:11:33
to announce last minor changes
[7709] by jjbig on 2010-02-24 10:28:35
resolved #5315

Author/Contributors

Author: jjbig
Maintainer: jjbig
Contributors: Matt Kruse

Attachments (1)

Download all attachments as: .zip