• 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.

MMM-Modulebar - A module that adds touch buttons for showing/hiding other modules.

Scheduled Pinned Locked Moved Utilities
16 Posts 6 Posters 11.0k Views 7 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.
  • S Offline
    Snille Module Developer @chaseb1357
    last edited by Jul 17, 2017, 3:57 PM

    @chaseb1357 Hmm… I have not tried it… But what if you have two instances of the modulebar one with only one button hiding the “other” module bar. :)

    If you cant find it, make it and share it!
    Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

    C 1 Reply Last reply Jul 17, 2017, 5:21 PM Reply Quote 0
    • C Offline
      chaseb1357 @Snille
      last edited by Jul 17, 2017, 5:21 PM

      @Snille That was a brilliant idea! I got it to work just as I wanted.0_1500311515278_Capture.PNG
      The Modules button is a separate module bar that I set up to toggle the one that I will fill with all my modules. I achieved this by going to my modules folder and duplicating the “MMM-Modulebar” folder and renaming it “MMM-ModulebarHide”. I then renamed everything referencing “MMM-Modulebar” to “MMM-ModulebarHide” for consistency.

      My config file is set up like this:

      		{
              		module: "MMM-ModulebarHide",
             			position: "bottom_right",
      			//header: "Modules",
              		classes: "default everyone",
              		config: {
              			buttons: {
         				 	"1": {
      	  					module: "MMM-Modulebar",
            						text: "Modules",
          					},
             				}
             			}
          		},
      		{
              		module: "MMM-Modulebar",
             			position: "bottom_bar", // This can be any of the regions.
      			header: "Modules", // Optional
              		classes: "default everyone", // Optional
              		config: {
              			buttons: {
         				 	"1": {
      	  					module: "clock",
            						text: "Clock",
          					},
         					"2": {
      						module: "currentweather",
            						text: "Current Weather",
            					},
            					"3": {
            						module: "calendar",
            						text: "Calender",
            					},
            					"4": {
            						module: "weatherforecast",
            						text: "Weather Forecast",
            					},
            					"5": {
            						module: "newsfeed",
            						text: "News Feed",
            					},
            					"6": {
            						module: "MMM-SystemStats",
            						text: "System Stats",
            					},
      
            				}
                 			// See 'Configuration options' for more information.
             			}
          		},
      

      I can now toggle the module bar! Thanks so much!

      S 1 Reply Last reply Jul 17, 2017, 8:18 PM Reply Quote 1
      • S Offline
        Snille Module Developer @chaseb1357
        last edited by Jul 17, 2017, 8:18 PM

        @chaseb1357 Hehe! Great! :) Nicely done!

        If you cant find it, make it and share it!
        Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

        1 Reply Last reply Reply Quote 1
        • G Offline
          gaudouy
          last edited by May 2, 2020, 10:44 AM

          Hello, is it possible to use one button for display multiple module ?

          Example :
          Button 1 : Clock and weather
          Button 2 : Mail and calendar
          Button 3 : Clock and Camera

          Thanks for advance

          S 1 Reply Last reply May 3, 2020, 4:59 PM Reply Quote 0
          • S Offline
            Snille Module Developer @gaudouy
            last edited by May 3, 2020, 4:59 PM

            @gaudouy Hi, no, it can only show and hide one/ or multiple instances of the same type of module on one button, but not two different types of modules on one button.

            If you cant find it, make it and share it!
            Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

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