Hide a module while still having it work
I want to hide my voice control module completely from the screen but still have it reacting and sending notifications to other modules, can anyone tell me how can I achieve this?
Thanks in advance!
Interested about it too.
@DevilRev : How are you going to know which mode is active ?
@DevilRev Remove the
position: bottom_left(or whatever position you have) from the config? This works with some modules, which do not try to interact with their own DOM (since it does not exist).
@Jopyth I did this to one module but every other module after that one in the config does not load at all. I need this for 2 modules and in combination with my other question that you answered.
I can’t do this manually in the config either, it has to be somewhat controllable so I guess my plan can not work out.
@DevilRev Well if that does not work you could use my Remote Control, hide the module in question, and save the hidden status. The module will then be hidden directly after each startup.
Also it allows you to easily display the module again when needed, so it is quite controllable.
@Jopyth Yep I already used your module and do really like it but I thought I might be able to just build the status ‘hidden’ into the module instead doing it with another one.
I’ll probably do it the way you suggested but I can’t even use it without the possibility of deactivating and activating a module completely from another one.
@DevilRev You can also do that, just add the line
to the module start up section. However you will need to stash (or commit) these changes later on when you want to update the module.