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.

    MMM-Pages and copies of modules

    Scheduled Pinned Locked Moved Hardware
    3 Posts 3 Posters 708 Views 3 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.
    • F Offline
      finacoles2
      last edited by

      Here’s what i’m trying to do,

      On page 1 of my MM I have the default holiday calendar module. On page 4 i’d like to have a different calendar, but if I choose calendar as a module it’s just going to load my holiday one, and not my google calendar. I can set up the calendar module to load both but I cant figure out how to specify which calendar to load on which page.

      Is there a way to copy the calendar module, or is there a way to setup the module with multiple calendars with the ability to select specific ones based on what page i’m on?

      I was able to sort of do this on my sports page by copying the mystandings module several times and changing the config on each one, but that’s going to get cumbersome, and im not always sure what line items to update. I can keep poking around but was hoping someone here knew a better method.

      Thanks for any help! If I figure this out i’ll make sure to update the post for anyone in the future who gets stuck on the same thing.

      1 Reply Last reply Reply Quote 0
      • C Offline
        chassain 0
        last edited by

        hello,

        you have to copy calendar to calendar2 folder, rename calendar.js to calendar2.js and rename in Module.register(“calendar2”,{…
        Then in defaultmodules. js add “default/calendar2”.

        1 Reply Last reply Reply Quote 0
        • J Offline
          jasminegill
          last edited by

          @chassain-0 said in MMM-Pages and copies of modules:

          hello,

          you have to copy calendar to calendar2 folder, rename calendar.js to calendar2.js and rename in Module.register(“calendar2”,{…
          Then in defaultmodules. js add “default/calendar2”.

          Thank you very much, I followed your instructions and it works now!!!

          1 Reply Last reply Reply Quote 1
          • 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