Read the statement by Michael Teeuw here.
MMM-CalendarExt
-
Hi,
Little help please,
how to reduce the height of the module?
It adapts automatically to the content, but suddenly exceeds the top one
Thx a lot.
-
-
@Sean
Thx for help, with your indication, i have finally used
overflowHeight: 200,
-
Is there a way to show the event start time in the same space as the even name?
Like6p Swim Lesson
-
@redink
More detailed adjusting might be needed, but commonly see this.https://forum.magicmirror.builders/topic/4624/mmm-calendarext/148
And, add
onlyStartingTime: 1,
in yourview
configuration -
Seems I cannot get the module to load. tried a few things, but it is just blank. I have the latest version of MM
-
@isaac2004 I need log or more detailed info to catch what happened.
-
I successfully use the module on two other screens. I just set up a new one without tweaks and I run into the following error in the console (nothing gets loaded, server-side there are no errors being logged):
Uncaught (in promise) TypeError: hookDom.appendChild is not a function at Render.js:590 at Array.forEach (<anonymous>) at Render.drawViews (Render.js:581) at Class.getDom (MMM-CalendarExt.js:209) at main.js:110 at new Promise (<anonymous>) at updateDom (main.js:109) at Object.updateDom (main.js:518) at Class.updateDom (module.js:358) at Class.draw (MMM-CalendarExt.js:680)
-
@mmmmh did you set a position of view? your error says there might be an issue. I’m on a business trip now so i cannot check at this moment. later i’ll look inside.
-
@Sean yes, I set it to top_left:
{ module: 'MMM-CalendarExt', position: "top_left", //anywhere. It is not related to real position of view classes: "default standard everyone", config: { // Read below system: { show: ['current', 'upcoming'], locale: 'de', showEmptyView: 0, fullDayEventLocalize: 1, redrawInterval: 300000, }, defaultView: { position: 'calendar', positionOrder: -1, overflowRolling: 0, overflowHeight: 0, overflowDuration: 2, timeFormat: 'H:mm', dateFormat: "ddd, D. MMM", fullDayEventDateFormat: "ddd, D. MMM", ellipsis: 0, limit: 20, oneLineEvent: 1, }, views: { current: { title: "Now...", direction: "column", showEmptyView: 0, useRelative: 0, }, upcoming: { title: "Was steht an...", direction: "column", useRelative: 0, overflowHeight: 0, overflowRolling: 0, }, }, calendars: [ { name: "XXXX", symbol: "male", styleName: "style24", url: "redacted", auth: { user: 'redacted', pass: 'redacted', method: 'basic' } }, ], }, },
Don’t worry, it’s not urgent.