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.

    Dynamic change in the size and position of modules

    Scheduled Pinned Locked Moved Development
    11 Posts 4 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.
    • A Offline
      Azazlo
      last edited by

      I’m looking for a module with which you can change the position and size of modules dynamically. The MMM-ModulePosition has a very similar functionality, but there you need to restart the mirror and rewrite the css file. I also want me to save the new location and size of the modules and the mirror continues to work, does such a module exist at the moment?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Azazlo
        last edited by

        @Azazlo maybe (from 3rd party list)

        https://github.com/Toreke/MMM-Dynamic-Modules.git

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil
          I saw this module, but honestly I could not figure out how it works.

          I don’t really understand where to insert the line “this.sendNotification(CHANGE_POSITIONS_DEFAULTS);” from this module

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Azazlo
            last edited by

            @Azazlo some other app (mmm-remotecontrol maybe) has to send it a message to move module x to position y

            here are the available positions
            https://docs.magicmirror.builders/modules/configuration.html

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            A 2 Replies Last reply Reply Quote 0
            • A Offline
              Azazlo @sdetweil
              last edited by

              @sdetweil
              That’s the point. I need to be able to modify directly with the mouse on the screen, as in the module that I gave as an example. It is very convenient and looks nice, but it does not have a save function without restarting and overwriting the file

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

                @sdetweil
                That’s the point. I need to be able to modify directly with the mouse on the screen, as in the module that I gave as an example. It is very convenient and looks nice, but it does not have a save function without restarting and overwriting the file

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Azazlo
                  last edited by sdetweil

                  @Azazlo ok, you didn’t say that… no module provides drag/drop positioning of other modules

                  maybe you can merge them together

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil
                    :_(
                    MMM-ModulePosition almost perfect, except for the impossibility of making changes without restarting and rewriting the file. Although I would put up with the fact that you need to restart the program, if only it was automatic

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TheBodger
                      last edited by

                      In case anyone comes by here, please let me know what improvements can be made to the MMM-ModulePosition tool, and I will see if i can incorporate them into it. TheBodger

                      L 1 Reply Last reply Reply Quote 0
                      • L Offline
                        lucifer6669 @TheBodger
                        last edited by

                        @TheBodger I am actually using your module, and it was working great until the the most recent update and now there is only one module i can move around the others wont let me. any suggestions would be helpful thank you

                        T 1 Reply Last reply Reply Quote 0
                        • T Offline
                          TheBodger @lucifer6669
                          last edited by

                          @lucifer6669 Hi, thanks for using the module. Could you share a few more details about what is still working and what isn’t ? (i.e. which module you can move, does it still save the CSS to your computer, what happens when you try to move other ones, when you save, do you see the pop up ? Can you clear the pop up before moving other Modules , try running with the config set like this:

                          	{
                          		module: "MMM-ModulePosition",
                          		position: "fullscreen_below",
                          		config: { showAlerts: false, },
                          	},
                          

                          If you have a github account then you can respond to the issue I raised here: https://github.com/TheBodger/MMM-ModulePosition/issues/6 Thanks and i will help sort this out for you

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