Thank you so much for this! I will update and reupload to the tiddlyhost site soon.
Awesome! A minor adjustment, use trim:prefix[0] instead so it doesn’t trim the “0” in “10” (I was wondering why “Oct” was showing as “Jan”, which coincidentally have the same date pattern this year)
<$let x={{{ [[$:/language/Date/Short/Month/]] [<m>trim:prefix[0]] +[join[]get[text]] }}}>
Were you able make some progress ?
If you need some help, feel free to tag me
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?
@hoopyfrood Two things in my todolist are
- keyboard shortcut to open the todays
date-view - keyboard shortcut to navigate up and down the months
Hello @hoopyfrood
I haven’t had much time to come up with a wish list yet, but my idea re smart tabs was implemented on @Mohammad’s Mehregan Edition
Depending on your TW usage you could include holiday intinerary, meeting minutes, meeting agenda, technical notes, meal plans etc
I checked your website, but I couldn’t t find any modal buttons in the calendar UI. It’s in another note tiddler. What does that have to do with the calendar.
If you look at the entry for Friday 6th of November you will see
*14:00pm med note
Click the * to see cal-20251106
Click on med-notes icon to see the modal / tiddler content.
The icons are shown in the Instructions
Hello @arunnbabu81
just an update from my last post.
I did have a tiddler pointing to the Friday 6th November entry but it must have been in another draft of the site, sorry.
To give another example of how the icons and modals can be used to good effect see @DaveGifford’s Writing (modals) wiki
It’s thanks to @DaveGifford’s idea that I thought could be adapted.
@hoopyfrood Thank you so much for the 4th update!
However, the POP-UP that allows us to add an event does not have a way to choose from the cal-tags, i.e. “Sleep”. After creating the event using the pop-up, I have to open the event tiddler and manually add the tag “Sleep” (so that the event belongs to the Sleep calendar) instead of doing it from the pop-up (as is do-able with time, caption, details).
Is it possible to put an eighth “day” or column in the week called Weekly Notes, so that we can …
- write weekly goals in there (if it is a future-oriented todo calendar)
- or write a weekly summary in there (if it past-oriented record of things accomplished calendar)
| Weekly Notes | Sun | Mon | Tue | Wed | Thu | Fri | Sat |
But perhaps it is bad to ask for this, as at present one is forced to decide on an actual day for every goal.
Cool! I haven’t worked with modals yet but I might look into it as an alternative to the current pop-up when you click on a date. I’m having a look at the link to Dave’s wiki you posted, thanks!
Fixing the pop-up should be easy but I won’t have time to work on it for a couple of weeks, if you wanted to tinker and have a whack at it $:/plugins/EventCal/popup/contents is the tiddler to play with.
Weekly Notes is potentially doable, I guess it depends and gets a bit “opinionated” in terms of how you want the content to work? Currently each cell displays a $list of tiddlers with that date in a field. Do you want the Weekly Notes cell to have a $list of tiddlers with some kind of weekly-date-format or is this more like an $edit-text thing that you can write comments into a single field for that week somewhere?