MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Default Calendar // Multiple caldendar instances overwritting each other..(maximumNumberOfDays)

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    7 Posts 3 Posters 2.3k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      bolish
      last edited by

      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…

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @bolish
        last edited by

        @bolish did u change something from the original?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • B Offline
          bolish
          last edited by

          no… just copy paste, renaming.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @bolish
            last edited by

            @bolish so, are you running BOTH calender modules, default and your ‘new’ one?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • B Offline
              bolish
              last edited by

              yes indeed.

              1 Reply Last reply Reply Quote 0
              • H Offline
                hiesscher
                last edited by

                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");
                
                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy