MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    [MMM-Pages] Different "newsfeeds" on serveral pages

    Troubleshooting
    2
    2
    116
    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
      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
        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

        Create a working config
        How to add modules

        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy