Removing Subject Field

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
ISO Retail
Posts: 28
Joined: Thu Sep 25, 2008 3:19 am

Removing Subject Field

Post by ISO Retail »

Using the most recent version of PHP

Was wondering how we could remove the subject field from the support ticket. Already tried to modify the ticket.php field and the index.php files with no success. Any help would be appriciated. Thank you guys.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

To completely remove it would require quite some work. I would recommend that you remove the subject input field in the "index.php" file and in the submit_ticket.php change

Code: Select all

$subject  = hesk_input($_POST['subject']) or $hesk_error_buffer[]=$hesklang['enter_ticket_subject']; 
to a default value which will be the same to all tickets, for example

Code: Select all

$subject  = "Click here to view"; 
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
ISO Retail
Posts: 28
Joined: Thu Sep 25, 2008 3:19 am

Post by ISO Retail »

I did more then just buy you a beer. I bought the program. Thank you so very much. Your software is great, your assistance is remarkable. One that really takes dedication to your worka nd business.
ISO Retail
Posts: 28
Joined: Thu Sep 25, 2008 3:19 am

Post by ISO Retail »

Worked like a charm. This guy is a programming god! :D
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Glad it worked for you and thanks for supporting my work by purchasing a license!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply