Read the statement by Michael Teeuw here.
MMM-CalendarExt2
-
@cskenney
You have a mistyping indefaultSet
. Notcalendars
, Fix it tocalendar
-
@Sean You can also do it through PM2 directly.
In a second session run “pm2 logs” – it’ll live update the logs on that session’s screen.
-
@Sean That did the trick. You used Calendars (with an S) for the main code section but the default section only used calendar (without the s). I didn’t notice the syntax difference. Thanks for the help.
-
@cskenney
Becausecalendar
ofdefaultSet
would be applied to eachcalendar
ofcalendars:[]
. But anyway, my English is not so good so there could be confusing. -
@Sean No, it’s fine. I just didn’t notice the syntax difference when I created the default section.
Thanks again for your help.
-
The two things were only added after the installation of “MMM-Page-Selector”.
Do you know how I remove the “module name (red)” and the “module counter blue”?
It is somehow related to the module.
I hope Sean, can you help me? -
@Lordy
Removepostion
of module. This module doesn’t need it. -
@Sean said in MMM-CalendarExt2:
Remove postion of module. This module doesn’t need it.
I tried it, unfortunately without success. Or what exactly do you mean? Here is my config.
{
module:“MMM-CalendarExtMinimonth”,
disabled: false,
position: “bottom_bar”,
pages: {main: ‘bottom_bar’},
calendars: [ ],
},
{
module: ‘MMM-CalendarExt2’,
disabled: false,
pages: {main: “bottom_bar”},
config: {
rotateInterval: 5601000,
scenes:[
{
name: “”,
views: [“”],
},
],
views:[
{
position: “bottom_bar”,
name: “”,
title: “”,
mode: “week”,
colored: true,
type: “row”,
slotCount: 2,
slotSubTitleFormat: “dddd”,
slotTitleFormat: “DD.MMMM”,
slotAltTitleFormat: “DD.MMMM”,
slotMaxHeight:“325px”,
calendars: [“xxx”],
locale: “de”,
maxItems:2000,
hideOverflow: false,
},
],
calendars: [ -
@Lordy
Hmmm. this module would manage its hiding/revealing by itself. So there is no need setpostion
of this module itself. But you set the position bypages: {main: “bottom_bar”},
throughMMM-Page-Selector
by force.
Unfortunately, MM would show the module name and id even when the module has nothing to draw at that position.Hmmm…
I think the easiest way is to hide it by CSS.
#module_7_MMM-CalendarExt2 { display:none; }
The only problem is, if you change the order of modules(adding a new module or removing) in configuration, the module Id will be changed. In that case, you should modify again.
-
@Sean said in MMM-CalendarExt2:
The only problem is, if you change the order of modules(adding a new module or removing) in configuration, the module Id will be changed. In that case, you should modify again.
Thank you for your prompt reply. And always, you were right about that. :thumbs_up_medium-light_skin_tone: