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.

    Display modules in a carousel

    Scheduled Pinned Locked Moved System
    29 Posts 8 Posters 28.5k Views 8 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.
    • A Offline
      amanzimdwini @PointPubMedia
      last edited by

      @PointPubMedia
      Once I get home, i can post MY CRUDE hack for that…
      I am on pacific time, though. So give me at least 10 hours

      A 1 Reply Last reply Reply Quote 0
      • B Offline
        barnabycolby
        last edited by

        Yep, @frog is correct. Include the name of all modules in the ignoreModules configuration option EXCEPT from the two modules you wish to rotate.

        1 Reply Last reply Reply Quote 0
        • A Offline
          amanzimdwini @amanzimdwini
          last edited by

          @PointPubMedia
          I like @barnabycolby 's version (ie exempting all but the ones you want to rotate) a lot.
          But here is something KirAsh4 made for me a while ago
          https://forum.magicmirror.builders/topic/373/alternating-modules-to-save-on-real-estate/3
          that will do the job too - and it will let you learn a bit java along the way

          Enjoy

          PointPubMediaP 1 Reply Last reply Reply Quote 1
          • PointPubMediaP Offline
            PointPubMedia @amanzimdwini
            last edited by

            @amanzimdwini Really like the version of @KirAsh4 …

            But how to rotate the “same” module ? I’m using the iframe module more than one time, and I would like to rotate all of them…

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              amanzimdwini @PointPubMedia
              last edited by

              @PointPubMedia
              Sorry - what are you trying to ask me? I can send you “my” module (basically hacked KirAsh’s a bit - works like a charm). I’m actually trying to use the “Carousel” right now…

              1 Reply Last reply Reply Quote 0
              • PointPubMediaP Offline
                PointPubMedia
                last edited by

                I’m saying that i’m using the swap code from the URL you gave me! But this works like a charm for different module at the same location! What I’m trying to do it’s to rotate the same module with different configuration at the same place!

                I’m using the iFrame module to display some graphic from Grafana and I would need to “rotate” a couple of them on MM at the same location! So instead of having 3-4 iFrame at the same time, I will alternate all of them at the same location to save on space!

                C I 2 Replies Last reply Reply Quote 1
                • C Offline
                  cnelso24 @PointPubMedia
                  last edited by

                  @PointPubMedia

                  Did you ever figure this out? I’m interested in the same thing

                  1 Reply Last reply Reply Quote 0
                  • I Offline
                    izanbard @PointPubMedia
                    last edited by

                    @PointPubMedia @cnelso24 Hey, I have just had a PR accepted that adds several config options that should help you

                    C 1 Reply Last reply Reply Quote 1
                    • I Offline
                      izanbard @amanzimdwini
                      last edited by

                      @amanzimdwini have a look at the latest version, I think it will have some of the features you are looking for

                      1 Reply Last reply Reply Quote 1
                      • PointPubMediaP Offline
                        PointPubMedia
                        last edited by

                        Thanks!

                        Is it possible to rotate multiple module definition of the same name ? I mean I’m using MMM-iFrame couple of time on the screen but would like to have only 1 place with multiple iFrame rotating…

                        I 1 Reply Last reply Reply Quote 0
                        • I Offline
                          izanbard @PointPubMedia
                          last edited by

                          @PointPubMedia yes, if all your iframes are in the same “position” (say top_left)on the page then this config should do it:

                                  {
                                      module: 'MMM-Carousel',
                                      config: {
                                          transitionInterval: 10000,
                                          mode: 'positional',
                                          top_left: {enabled: true, ignoreModules: [], overrideTransitionInterval: 10000},
                                      }
                                  },
                          
                          1 Reply Last reply Reply Quote 1
                          • C Offline
                            cnelso24 @izanbard
                            last edited by

                            @izanbard

                            works great, thank you!

                            1 Reply Last reply Reply Quote 0
                            • PointPubMediaP Offline
                              PointPubMedia
                              last edited by

                              @izanbard But with positional I can’t ignore module ?

                              I 1 Reply Last reply Reply Quote 0
                              • I Offline
                                izanbard @PointPubMedia
                                last edited by izanbard

                                @PointPubMedia yes you can, but you do it by position. Read the config above and see if you can work out in the positional settings you ignore modules per position. Hint it is between enabled and overrideTransitionInterval.

                                PointPubMediaP 1 Reply Last reply Reply Quote 0
                                • PointPubMediaP Offline
                                  PointPubMedia @izanbard
                                  last edited by

                                  @izanbard said in Display modules in a carousel:

                                  @PointPubMedia yes you can, but you do it by position. Read the config above and see if you can work out in the positional settings you ignore modules per position. Hint it is between enabled and overrideTransitionInterval.

                                  Working fine ;)
                                  That’s perfect!

                                  thanks mate!

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