You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2012-03-29 17:58:51

danh
Member
From: Chicago, USA
Registered: 2012-03-08
Posts: 546
Website

How can I remove the Ticket Category ---

Is it possible to delete the default category of --- or reassign a new default?

I don't want my users to be able to use a blank ticket category.

Thanks,
Dan


Thanks,
Dan

Offline

#2 2012-03-29 19:17:25

betorsm
Member
From: Brazil
Registered: 2012-03-29
Posts: 2

Re: How can I remove the Ticket Category ---

Dear Friend,
I'm new here, but I think can help.
Two options:
1 - Place the category as required, on tickets.
2 - Edit the file "\front\ticket.form.php", line 199, change the default ID of "ticketcategories_id".

Note: Be careful when changing the php files, make a backup before.
Note 2: Use a php editor.


Version in production: 0.80.7

Offline

#3 2012-03-29 19:27:43

danh
Member
From: Chicago, USA
Registered: 2012-03-08
Posts: 546
Website

Re: How can I remove the Ticket Category ---

That works to a point, which I thank you for!
It changes the default, but doesn't actually remove the --- category.
Based on your post, I am assuming I'd need to find and remove it from the database...


Thanks,
Dan

Offline

#4 2012-03-29 19:45:37

danh
Member
From: Chicago, USA
Registered: 2012-03-08
Posts: 546
Website

Re: How can I remove the Ticket Category ---

Ok..This didn't change anything for a post-only profile.
The page in question is: /front/helpdesk.public.php?create_ticket=1
That edit doesn't exist in the above page


Thanks,
Dan

Offline

#5 2012-03-29 22:10:42

betorsm
Member
From: Brazil
Registered: 2012-03-29
Posts: 2

Re: How can I remove the Ticket Category ---

I'm still learning about GLPI, and do not know much PHP.
See the file "\inc\display.function.php", line 2242.
Experiment, because I do not know yet whether it will affect other things.


Version in production: 0.80.7

Offline

#6 2012-03-29 22:33:22

danh
Member
From: Chicago, USA
Registered: 2012-03-08
Posts: 546
Website

Re: How can I remove the Ticket Category ---

Nice find!  Thank you!!


Thanks,
Dan

Offline

Board footer

Powered by FluxBB