Read the statement by Michael Teeuw here.
MMM-pages - modules with same name on different pages
-
@chassain-0 said in MMM-pages - modules with same name on different pages:
and add default/newsfeed2 in defaultmodules.js
add the module in config.js and restart mmyou do not need to (and should not) edit the defaultmodules.js file
just use
{
module: “default/newsfeed2”
etc
} -
@sdetweil sorry…i did’nt remember :) thanks
-
@chassain-0 no big deal, I am just adding info.
-
Hi again,
Non of these proposals work for me…or I’m too dump to understand it. I made different attemps: copied newsfeed2 parallel to newsfeed in the default-folder and added “default/newsfeed2” to config.js - no success. Then I made a default-folder under default - no success. I also tried “newsfeed2” in config.js - no success.
In any combination I change newsfeed.js to newsfeed2.js without success. Can someone with a running newsfeed-doublette enter a screenshot of the folder-structure and the config.js?
Thank you in advance
Thomas -
don’t forget to change the name inside the file newsfeed2.js
-
I already did - no success.
Am I the only one with this requirement? -
@thgmirror i m going to work again with this. give me one minute
-
@thgmirror it works for me…
duplicate newsfeed’ folder to newfeed2…change the file inside to newsfeed2.js…change Module.register(“newsfeed”,{ to Module.register(“newsfeed2”,{
add module default/newsfeed2 in config.js… -
SUCCESS!!!
as a summery, I didcopy default/newsfeed to default/newsfeed2
changed the name of newsfeed.js in default/newsfeed2 to newsfeed2.js
changed Module.register(“newsfeed”,{ to Module.register(“newsfeed2”,{ in newsfeed2.js
entered module: “default/newsfeed2”, in config.jsThanks to Fozi, chassain and sdetweil for all your help.
Thomas -
perfect…thanks to sdetweill…i had the same problem before