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.

    Dynamically Moving Modules

    Scheduled Pinned Locked Moved Development
    7 Posts 5 Posters 3.7k Views 4 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.
    • R Offline
      reporter500
      last edited by

      I knew it wasn’t supported, but I wanted to see if anyone was doing any custom development that might have solve this.

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by A Former User

        It needs some trick.

        1. Get node of region container.
        2. Draw your dom and insert into region container node in getDom(). Your dom’s root node should have classname ‘module’.
        3. Set region container display style to block.

        Good luck!

        Ps. I use this trick in currently developing module. It works well.

        cowboysdudeC R 2 Replies Last reply Reply Quote 0
        • cowboysdudeC Offline
          cowboysdude Module Developer @Guest
          last edited by

          @Sean said in Dynamically Moving Modules:

          Ps. I use this trick in currently developing module. It works well.

          OH do tell LOL

          1 Reply Last reply Reply Quote 0
          • R Offline
            reporter500 @Guest
            last edited by

            @Sean Perfect! Thank you.

            1 Reply Last reply Reply Quote 0
            • S Offline
              shbatm Module Developer
              last edited by shbatm

              This version of MMM-Carousel will allow you to set different locations for a module for different slides:

              [card:shbatm/MMM-Carousel]

              See the very bottom of the README for more information

              If you’re interested in incorporating this into your own module, the relevant parts of the code are here and here

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • 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