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] Different "newsfeeds" on serveral pages

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 3 Posters 960 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.
    • S Offline
      sdetweil @c.keen
      last edited by sdetweil

      @c-keen note that the name of the module is NOT its module: name
      but its class name

      module:name,
      classes:“abc name foo”,

      so you can give each instance a unique class name and use that

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        Hello,
        coming back to this topic. I have the same problem. I use MMM-Pages with 6 pages and i would like to have different calendars on different pages.

        For example:
        page 1: our home calendar, my work calendar and a birthday calendar.
        page 2: Formula 1 calendar and MotoGP calendar, all google calendars.

        On page 1, the 3 calendars are lined up as they should be.

        When I, of course, enter “calendar”, on a different page in the string of MMM-pages, it displays all calendars, which of course I don’t want.
        How can I distinguish between the different calendars?
        I hope this is somewhat clear.
        Can anyone give an example?
        Thanks in advance.

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

          @J2FK see the doc on my fork, there is no code change

          https://github.com/sdetweil/MMM-pages#using-the-module

          see the ‘alternative approach’

          makes all these issues go away

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J 1 Reply Last reply Reply Quote 1
          • J Offline
            J2FK @sdetweil
            last edited by

            @sdetweil Thanks a lot!!
            This was the trick I was looking for…
            I’ve read so many posts and topics, but I hadn’t come across this yet… or I didn’t read properly :astonished_face:

            Thumbs up and keep up the good work!!!

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

              @J2FK awesome! glad it helped

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              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