Read the statement by Michael Teeuw here.
MM-Navbar - Navigation Bar for Touchscreens to hide/show modules
-
@in_a_days put the names you want in an array, like so:
var exceptClasses = ["clock", "weather", "calendar"]; //The list of modules you want to keep. MM.getModules().exceptModule(this).exceptWithClass(exceptClasses).enumerate( // Here the other code ); -
@tosti007 hi, i tested using var exceptClasses as mentioned by you, it works perfectly as required for me. Thanks a lot for your suggestion.
-
As mentioned from @tosti007 he wrote a module that uses the ProfileSwitcher.
I will also continue on this project when i got the time for it.I plan on adding some configurable variables, like which modules should be included as a button and a config-section where u can define an icon from Font-Awesome. That should handle a few problems with which u came up here.
But this will take me some time. So keep patient, i’m working.
-
@shashank You’re welcome!
@chrisyy you can use front awsome by setting the class of the symbol’s container tofa fa-symbolname. Something like this (wheresymbolNamecan be any icon name):var symbolName = "paper-plane"; var symbolContainer = document.createElement("span"); symbolContainer.className = "fa fa-" + symbolName; -
@tosti007 Something like this is what i’m thinking about
-
-
@Snille
Hi, I’m using your MMM module bar to switch my modules on and off.
What I don’t understand is how I switch between 2 modules.
So if I press a button, I want to switch off one module and another ON. Both are in the same position (‘middle_center’).Or do I need another module?
Thank you for your help.
greeting
Stefan
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