• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 24.3k 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.
  • B Offline
    barnabycolby
    last edited by Dec 8, 2016, 9:21 PM

    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 Dec 9, 2016, 4:33 AM

      @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

      P 1 Reply Last reply Dec 10, 2016, 2:36 AM Reply Quote 1
      • P Offline
        PointPubMedia @amanzimdwini
        last edited by Dec 10, 2016, 2:36 AM

        @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 Dec 10, 2016, 4:58 AM Reply Quote 0
        • A Offline
          amanzimdwini @PointPubMedia
          last edited by Dec 10, 2016, 4:58 AM

          @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
          • P Offline
            PointPubMedia
            last edited by Dec 10, 2016, 1:28 PM

            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 Feb 2, 2017, 3:22 AM Reply Quote 1
            • C Offline
              cnelso24 @PointPubMedia
              last edited by Feb 2, 2017, 3:22 AM

              @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 Feb 2, 2017, 3:59 PM

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

                C 1 Reply Last reply Feb 2, 2017, 8:28 PM Reply Quote 1
                • I Offline
                  izanbard @amanzimdwini
                  last edited by Feb 2, 2017, 4:02 PM

                  @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
                  • P Offline
                    PointPubMedia
                    last edited by Feb 2, 2017, 5:56 PM

                    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 Feb 2, 2017, 6:07 PM Reply Quote 0
                    • I Offline
                      izanbard @PointPubMedia
                      last edited by Feb 2, 2017, 6:07 PM

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