Read the statement by Michael Teeuw here.
MMM-CalendarExt3Agenda
-
given this article
i think this should work, as the div with the agenda class has no children, aka: is empty
.MMM-CalendarExt3Agenda:has(.agenda:empty) { display:none; }
-
Hi,
Having an issue with CX3A not displaying events. I have below the module configurations. The calendar setup for CX3 works perfectly, and they’re all defined in the default calendar module. The header appears for the Agenda in the bottom right as well, just no events are displayed. I know there was a clipping issue with the maxEntries on the default calendar. I have them all set to 100, and this is a fresh install of MM and all the modules as of this morning, so I didn’t think that was an issue. I’m also not seeing any errors logged while MM is running. I must be missing something.
{ module: "MMM-CalendarExt3", position: "top_center", config: { mode: "week", instanceId: "basicCalendar", locale: "en-US", maxEventLines: 8, weeksInView: 5, weekIndex: 0, fontSize: 26, calendarSet: ["John", "Jane", "Joe", "Jill", "Family", "Important"], refreshInterval: 30 * 60 * 1000, } }, { module: "MMM-CalendarExt3Agenda", position: "top_right", header: "Next 3 Days", config: { instanceId: "basicAgenda", locale: "en-US", startDayIndex: 0, endDayIndex: 3, calendarSet: ["John", "Jane", "Joe", "Jill", "Family", "Important"], refreshInterval: 30 * 60 * 1000, } }
-
@FMancuso5 see this post
https://forum.magicmirror.builders/post/127508 -
@sdetweil I added it, and it seemed to delete all the calendars, so I removed it, and they’re still gone.
They are broadcasting correctly from calendar.
I’ve restarted both the server and the client.ACK!
-
@BKeyport again watch out for waitFetch and refreshInterval
if the events come AFTER waitfetch (default 5 seconds)
they wait til refreshInterval (default 30 minutes) -
@sdetweil
both are set low, and it worked before. -– whoops - forgot I moved refresh up on those as they don’t change very much. Restored them to 1 minute for testing.– and it don’t seem to be targeting correctly. does nothing.
-
@BKeyport and you removed the custom.css entry
-
@sdetweil yeah, I put it back… both it, and the target I wrote up don’t target it.
-
@BKeyport ok , ill look at it tomorrow. i dont use agenda normally
-
@BKeyport ok, he has an attribute on the agenda day, which contains the count of events
this will hide the day if there are no events.CX3A [data-events-counts='0'] { display: none; }