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 1.3k 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.
    • C Offline
      c.keen
      last edited by

      Hello,
      I am using MMM-Pages on rotation and want to add different newsfeeds on several pages. For example: The New York Times newsfeed should be on page 1, the Spiegel Online newsfeed should be on page 2.
      I copied the module in my config.js and created two newsfeeds. So far, this works without any problems when displayed on the same page.

      But using MMM-Pages I have to decide on which page the newsfeed module appears.

      Can you please help me to seperate the newsfeeds?

      I tried something like [“newsfeed” {name: “Spiegel Online”}], [“newsfeed” {name:“New York Times”}] but this didn’t work for me.

      Thank you very much in advance.
      Regards,
      C. Keen

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        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 Do not disturb
            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 Do not disturb
                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

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 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