Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-04-26 23:40:38

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

disable/enable all plugins shortcut

That is: a link to disable/enable all plug-ins at once.

Last edited by maniqui (2008-04-27 00:00:50)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#2 2008-04-27 06:15:20

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: disable/enable all plugins shortcut

This request is similar to another one recently concerning images. I too believe that the interface should become more uniform based on the ‘articles’ tab. This would not only include the enable/disable but the delete function too.

Last edited by colak (2008-04-27 06:16:42)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2008-04-27 07:49:31

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: disable/enable all plugins shortcut

I think now it’s possible to make batch enable\disable и the sql-query


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#4 2008-04-27 10:38:57

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: disable/enable all plugins shortcut

Isn’t this what the preference setting Use Plugins (yes/no) already does?

Offline

#5 2008-04-27 10:45:17

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: disable/enable all plugins shortcut

Yes, and the advantage of that preference, is that if you have a mix of enabled and disabled plugins, you can switch plugins off and then enable them again, without having to specify which plugins should stay disabled.

Having said that, adding a multi-edit feature there (while keeping the option to toggle plugin activity state) would make the interface more consistent with other tabs.

Offline

#6 2008-04-27 14:25:40

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: disable/enable all plugins shortcut

@masa

Didn’t know that one! I mean, I’ve seen it, but I never thought about it using as a “disable all plugins” shortcut. Good one!

ruud wrote:

Having said that, adding a multi-edit feature there (while keeping the option to toggle plugin activity state) would make the interface more consistent with other tabs.

I like the current toggle-yes/no instantly way. If your suggestion is to make the interface with checkboxes, a dropdown with options (activate, de-activate, delete) and a submit, it will be more hassle to activate/de-activate a plug-in. And also, a unwanted “delete-all-plug-ins-by-mistake” is about the corner. (I may be dramatizing or exaggerating here)
Of course, you didn’t say it is going to be that way, but as you said it wil be more consistent with other tabs, that’s what I imagined.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#7 2008-04-28 08:41:58

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: disable/enable all plugins shortcut

I think this could be useful:

  1. Say you need to activate one plugin at a time (and disable the others) to do some bug check (i.e., what plugin is causing trouble?)
  2. So you could disable all the plugin at a certain point, then play enabling one or two plugin at a time until you find which plugin is causing bugs
  3. Then re-enable all originally enabled plugin (and modify/delete only the buggy one).

I think this can’t easily be done, now, and maybe can’t be done without a db modification. But hopefully I’m wrong and this is trivially simple… :)

Z-

Offline

#8 2008-04-28 10:27:34

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: disable/enable all plugins shortcut

This can’t be done easily. The cost of implementing this doesn’t outweight the need for this feature.

Offline

#9 2008-04-28 11:13:15

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: disable/enable all plugins shortcut

I suspected that. :(

Offline

#10 2008-04-28 11:21:50

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: disable/enable all plugins shortcut

But…. disabling/enabling multiple plugins would go faster if it can be done all at once with checkboxes.

Offline

#11 2008-04-28 13:54:56

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: disable/enable all plugins shortcut

Definitely. I also agree for the uniformity argument.

Offline

Board footer

Powered by FluxBB