I have updated the tiddlyhost site with EricShulman and Thomas_Chuffart’s code, and compartmentalized some stuff to make it easier to customize (dedicated tiddlers for Single Day/Full Month view contents, add custom date formats and rules). See the ReadMe for details.
Does this calendar have the ability to keep separate calendars? What if I want my “Sleep” calendar to be separate from my “Did” calendar?
I downloaded this most recent calendar (update 3). I created a tiddler titled SLEEP and put {{SLEEP||$:/plugins/EventCal}} in the text field. I created a second tiddler titled DID and put {{DID||$:/plugins/EventCal}} in the text field. But events entered in the SLEEP calendar still showed up in the DID calendar, and vice versa.
(I also tried {{||$:/plugins/EventCal|SLEEP}} but it still didn’t work at keeping keeping the two calendars separate.)
What should I do?
Not as is, but I think some modifications could achieve what you want.
The calendar can display tiddlers that have the date attached to them in some way, my default way being a field called “cal-date” that has the date in YYYY0MM0DD, 0DD, ddd, or YYYY-MM-DD formats, plus or if the title has the date in DDth MMM YYYY format like the default journals. This can be customized to look for a custom date format in a different field besides “cal-date” or even as a tag.
The filter that determines what tiddlers to display is in the tiddler $:/plugins/EventCal/cell/dateview. If you were to add +[tag[SLEEP]] to it, it would only display tiddlers that have the date in some format if it also has the SLEEP tag. You would have to write some more UI bits, or perhaps add a parameter, to make it work with multiple tags that you can switch between. (You could also specify which sub-calendar you are displaying using different operators in that filter that is on $:/plugins/EventCal/cell/dateview, instead of +[tag[some-tag]]).
I’ll see if I can work on adding this as a feature, but if you want to fiddle with it that’s where to start.
Sorry, @arunnbabu81 no not yet.
I was thinking of using a modal, having seen @DaveGifford’s writing wiki and I have also been looking at Jed Carty’s Calendar Archives and the plugin which creates Calendar Month views which when clicked open that dates tiddler.
At the moment I am currently dealing with some family stuff, but will try later when time allows.
Hello @arunnbabu81
just another thought regarding my previous post, have you read this post. It add a button to a tiddler that allows notes to be added to each tiddler but stores all the notes in $:/note-database. Each calendar date could have it’s respective journal/note tiddler and store the respective notes or instructions etc in the $:/note-database for future editing and searching.
I got that working now, check out update 4. Just tag the event-tiddlers that you want with “SLEEP” or “DID” and then make tiddlers for those tags and tag them with cal-tag. This will make those tags an option in the drop down menu.
This could be useful depending on your use case, what would you like to see in a calendar?