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

  • Quantity of sites aside, I can see this as being a useful feature! The best thing to do is submit a feature request to the team. You can do that by creating an issue, and the Dev team will pick up on it. – Jamie Wade May 8 '19 at 15:22
  • @JamieWade, I'll do that! – good_afternoon May 8 '19 at 17:07
0

Javascript 'hack' in browser console:

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.