Multiple Enable / Disable Projects at the same time

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
speedyrazor
Posts: 9
Joined: 20 Mar 2010, 13:49

Multiple Enable / Disable Projects at the same time

Post by speedyrazor »

Hi, I have a need to multiple Enable / Disable Projects at the same time, rather than one by one. Is there a way to do this by changing some code please?
Having to go into each project to enable or disable it when you have 30 projects to do is very time consuming.
Anyone with any suggestions would be greatly appreciated.

Kind regards.
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Multiple Enable / Disable Projects at the same time

Post by atrol »

You need 90 clicks to disable 30 projects.
You will need more time to change the code.

Another option for such kind of operations is to change direct in database.
Something like;

Code: Select all

update mantis_project_table set enabled = 0 where name = 'myProject1';
update mantis_project_table set enabled = 0 where name = 'myProject2';
Please use Search before posting and read the Manual
speedyrazor
Posts: 9
Joined: 20 Mar 2010, 13:49

Re: Multiple Enable / Disable Projects at the same time

Post by speedyrazor »

Hi, I would rather change the code once, so this feature is always available to all users.
Anyone know how I would change the code please?

Kind regards.
speedyrazor
Posts: 9
Joined: 20 Mar 2010, 13:49

Re: Multiple Enable / Disable Projects at the same time

Post by speedyrazor »

Hi, ideally I want to add a checkbox next to each project on the 'Manage Projects', which I could tick to enable and un-tick to disable.
Anyway to do this please?

Cheers.
Post Reply