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 - modules with same name on different pages

    Scheduled Pinned Locked Moved Troubleshooting
    22 Posts 5 Posters 8.1k Views 5 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.
    • thgmirrorT Offline
      thgmirror @Fozi
      last edited by

      @Fozi Thank you for your answer…these links I had in mind…and the idea behind Ialso tried in the past, but without success, any other suggestion?
      Thomas

      1 Reply Last reply Reply Quote 0
      • C Offline
        chassain 0
        last edited by

        If i remember, for newsfeed it’s different because it’s a default module

        duplicate newsfeed as default/newsfeed2
        and add default/newsfeed2 in defaultmodules.js
        add the module in config.js and restart mm

        S 1 Reply Last reply Reply Quote 0
        • thgmirrorT Offline
          thgmirror
          last edited by

          @chassain…checked it without any reaction. I also added it as MMM-newsfeed in modules-folder and in config.js…but nothing happened.

          1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @chassain 0
            last edited by sdetweil

            @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 mm

            you do not need to (and should not) edit the defaultmodules.js file

            just use
            {
            module: “default/newsfeed2”
            etc
            }

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              chassain 0 @sdetweil
              last edited by

              @sdetweil sorry…i did’nt remember :) thanks

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @chassain 0
                last edited by

                @chassain-0 no big deal, I am just adding info.

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 1
                • thgmirrorT Offline
                  thgmirror
                  last edited by

                  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

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    chassain 0 @thgmirror
                    last edited by

                    don’t forget to change the name inside the file newsfeed2.js

                    1 Reply Last reply Reply Quote 0
                    • thgmirrorT Offline
                      thgmirror
                      last edited by

                      I already did - no success.
                      Am I the only one with this requirement?

                      C 2 Replies Last reply Reply Quote 0
                      • C Offline
                        chassain 0 @thgmirror
                        last edited by

                        @thgmirror i m going to work again with this. give me one minute

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          chassain 0 @thgmirror
                          last edited by

                          @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…

                          1 Reply Last reply Reply Quote 0
                          • thgmirrorT Offline
                            thgmirror
                            last edited by

                            SUCCESS!!!
                            as a summery, I did

                            copy 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.js

                            Thanks to Fozi, chassain and sdetweil for all your help.
                            Thomas

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              chassain 0
                              last edited by

                              perfect…thanks to sdetweill…i had the same problem before

                              1 Reply Last reply Reply Quote 0
                              • thgmirrorT Offline
                                thgmirror
                                last edited by

                                Hi again,

                                now I need help for the same kind of duplication but now of the MMM-iFrame-modul. I did all he necessary steps analoge to my changes regarding the newsfeed-module. I added two entries to the config.js and both websides appear on the mirror, but only one responds to the updateInterval given in the parameter-section. The other one shows the websid without any refresh.

                                Any help is welcome;-)
                                Thomas

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  pandeyprakhar00
                                  last edited by pandeyprakhar00

                                  As the news feed is the default module, so it would be difficult to get it on different pages along with different sources,
                                  Alternatively you could copy some 3rd Party module and rename it as you have done earlier.

                                  However i did all my news feeds arranged on a single page just like this :
                                  link text

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @pandeyprakhar00
                                    last edited by

                                    @pandeyprakhar00 any module can be duplicated… see the post a few back by @chassain-0 which describes the steps.

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • thgmirrorT Offline
                                      thgmirror
                                      last edited by

                                      pandeyprakhar00, it is possible to duplicate the newsfeed-module, see the posts of @chassain-0 or my post some lines above. The issue here is, that I duplicated MMM-iFrame, but one of them did not refresh as respond to the updateInterval in the config.js.

                                      P 1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        pandeyprakhar00 @thgmirror
                                        last edited by

                                        @thgmirror have you tried your luck with MMM-SmartWebDisplay module ?
                                        https://github.com/AgP42/MMM-SmartWebDisplay

                                        1 Reply Last reply Reply Quote 0
                                        • thgmirrorT Offline
                                          thgmirror
                                          last edited by

                                          @pandeyprakhar00 , first checks look good. Thank you for the hint.

                                          Btw. How can I set this topic as solved?

                                          Greetings from Germany
                                          Thomas

                                          1 Reply Last reply Reply Quote 0
                                          • P Offline
                                            pandeyprakhar00
                                            last edited by

                                            Your most welcome ! :slightly_smiling_face:

                                            Greeting from INDIA too!
                                            Prakhar

                                            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
                                            • 2
                                            • 1 / 2
                                            • 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