Read the statement by Michael Teeuw here.
[MMM-Pages] Different "newsfeeds" on serveral pages
-
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 -
@c-keen note that the name of the module is NOT its module: name
but its class namemodule:name,
classes:“abc name foo”,so you can give each instance a unique class name and use that
-
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. -
@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
-
@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!!!
-
@J2FK awesome! glad it helped