Read the statement by Michael Teeuw here.
Default Calendar // Multiple caldendar instances overwritting each other..(maximumNumberOfDays)
-
well… I believe it’s far from being perfect…but at least it seems to do the job…
I created a “new” module which does exactly same / has the same code as the one I want to use, but has a different name (folder named “MMM-Calendar2” -> file named “MMM-Calendar2.js” -> within the line Module.register(‘MMM_Calendar2’)).
Not in the default module folder but into the 3rd party module folder… -
@bolish did u change something from the original?
-
no… just copy paste, renaming.
-
@bolish so, are you running BOTH calender modules, default and your ‘new’ one?
-
yes indeed.
-
Some additional Information:
In calendarfetcher.js and nodehelper.js is the following line:
const Log = require("../../../js/logger.js");
If you copy the “calendar” folder down to “modules” this reference will be broken.
So you have to change to:const Log = require("../../js/logger.js");