Read the statement by Michael Teeuw here.
MMM-CalendarExt2
-
@Sean I was hoping to control the daily view to prevent it from moving down too far. I like having the monthly calendar large as it is now. I will just go back to controlling it with slotCount since hideOverflow and SlotMaxHeight doesn’t seem to affect Daily views. Thanks.
-
@vulkandosii
There could be some tricks likehiding day-slot when there is no event
orfiltering unimportant events on view
… However, it needs some knowledge about JS and CSS. -
@Sean said in MMM-CalendarExt2:
- Weird. if you are using
timeFormat: "h:mm A"
, it will show11:00 AM
not11
or11AM
.
https://github.com/eouia/MMM-CalendarExt2/wiki/Event-Time - In that case, just use daily view with
filterPassedEvent: true
https://github.com/eouia/MMM-CalendarExt2/wiki/2c.-Configuration:View - use
fromNow
to skip days.
https://github.com/eouia/MMM-CalendarExt2/wiki/2c.-Configuration:View - like this?
add this into yourcss/custom.css
.CX2 .view.upcoming .eventCount_0 .slotFooter::after { content: "There is no event." }
@Sean Thanks. Got some of them working but not all.
-
I’ll keep tweaking.
-
How do I filter the events for Today’s date only in “daily view”. I see Today, Tomorrow, Tuesday, Wednesday listed in my daily view but can’t figure out how to filter that to today’s date only.
-
Works! :-) Thank you!
-
The suggestion about showing “There is no event” does not work. Nothing shows up. I used the same syntax as above and also tried to modify it but no luck.
Thanks
- Weird. if you are using
-
@Jas
For 2.filterPassedEvent
makes not loading passed events at this moment, so it will not affect to tomorrow or future days. Only today will be affected.For 4. It will work on
upcoming
view. For daily view, this selector might work (not tested). Try yourself with documents..CX2 .view.daily .eventCount_0 .slotFooter::after
-
@Sean I just want Today’s events to show up. So that should not list Tomorrow or any other day’s events. Sorry if I wasn’t clear.
Thanks -
-
@Sean Thank you so much! Yup all working now. I got the “No more events” to show up by using the following in the daily view if that helps anyone else.
.CX2 .slot.eventCount_0 .slotContent::after { content: "No Scheduled Meetings" }
Thanks for the amazing work and support!
-
@Jas
.CX2 .slot.eventCount_0
this is not only fordaily
view, so could be risky on other views. Anyway, if it works at this moment, don’t mind. :D -
@Sean Hey Sean, not sure if you saw my last response. I updated to static with still no luck. Any ideas. I was thinking it might have to be with telling timeline the right name or something along those lines. This is my configure except dynamic switched to static. Thanks!
-
@Sean said in MMM-CalendarExt2:
@Thekk
Hmmm… I think there is no flag about repeated events. I’ll research about it.
For filtering; See this; https://github.com/eouia/MMM-CalendarExt2/wiki/Filtering-and-Sorting
And this also; https://github.com/eouia/MMM-CalendarExt2/wiki/Event-ObjectI haven’t seen any mention about that property in the filtering or event-object. I did browse through your parser and didn’t see any mention about repeating objects. I did Google a little further and found this function in (what I gather is) the underlying parser: http://mozilla-comm.github.io/ical.js/api/ICAL.Event.html#isRecurring
Rather proud that I did (eventually) get it to work. I added
// Check if an event is recurring and make a filterable property ev.isRecurring = ri.isRecurring()
around line 140 in node_helper.js and added the following filter:
filter: (event) => { if (event.isRecurring) { return false } else { return true } },
to remove all recurring items from one of the views.