TiddlyTools/Time/Calendar does indeed handle âmulti-day date range bookingâ, through use of the âTimelineâ feature:
- Display the year calendar (TiddlyTools/Time/Calendar)
First, you need to define a âtimelineâ tiddler. You will only need to do this once.
- Click on any date in the calendar
- In the date popup, press the [+] button and then press the ânew timelineâ button
- This will start editing a âNew Timelineâ tiddler that is automatically tagged with â
timeline
â
- You can change the title of this tiddler to whatever you like (e.g., âMyTimelineâ)
- If you want, you can set the caption field for an alternative display name
- There are also fields to set the
eventcolor
, filter
, and list
. You can ignore these for now.
- Press the usual tiddler toolbar âdoneâ button (checkmark) to finish editing this tiddler
- In the Calendar Settings popup (âgearâ button above the calendar), select the checkbox next to your newly created timeline tiddler. This will enable the Calendar to display the events defined by that timeline.
- You can also set the
eventcolor
for this timeline by clicking on the color square next to the timeline. This will display a popup input and list in which you can enter (or select) a color. You can use X11 color names or any valid CSS color value.
Now that a timeline tiddler exists, you can begn adding your âmulti-day date range bookingsâ:
- Click on the starting date for a âmulti-day date range bookingâ
- In the date popup, press the [+] button, and select your timeline from the âadd an event to:â listbox.
- This will start editing a new timeline event tiddler that is automatically tagged with the name of your timeline.
- You can change the title of this tiddler to whatever you like (e.g., âSomeEventâ)
- By default, the tiddler will have
timeline.start
and timeline.end
fields set to the starting date (using YYYY0MM0DD format).
- Adjust the
timeline.end
field to the ending date for this âmulti-day date range bookingâ
- Optionally, add a âcaptionâ for an alternative display name
- There are also fields to set
timeline.days
and timeline.type
. You can ignore these for now.
- Press the usual tiddler toolbar âdoneâ button (checkmark) to finish editing this tiddler
- The Calendar will now show a âcolor barâ for each date included in the timeline event you just defined.
- Repeat this sequence for each âmulti-day date range bookingâ you want to add to the Calendar.
You can define multiple timeline tiddlers (using the first sequence described above). This will permit you to create separate sets of timeline event tiddlers that can be easily toggled via the Calendar Settings popup.
In the Calendar Date popup, each timeline event is listed. Click on the event text to view the corresponding timeline event tiddler. You can also click on the color box next to the event text to view the corresponding timeline definition tiddler.
That should be enough to get you started.
enjoy,
-e