1

When creating sections, I need a way to toggle all of them off or on. I have 188 sites and you can imagine how big of a pain it is to untoggle one by one.

Am I able to do this somehow? Create a module?

Edit: I've been told creating this many sites isn't a good idea, so perhaps this is a foolish question

enter image description here

good_afternoon
  • 319
  • 1
  • 10

1 Answers1

0

Javascript 'hack' in browser console:

$lightswitches.each(function(){
    var lightswitch = $(this).data('lightswitch');
    lightswitch.turnOff();
});
Richard
  • 181
  • 7