Hi,
I like Hesk and never had a problem with that. However, how do I delete "Subject" field? In my case I do not need it because customer already choose their category from drop down menu. The worse is that Subject has star as MUST fill in. Thank you for help
How to delete SUBJECT field?
Moderator: mkoch227
Re: How to delete SUBJECT field?
From index.php delete
In submit_ticket.php change to
Code: Select all
<tr>
<td style="text-align:right" width="150"><?php echo $hesklang['subject']; ?>: <font class="important">*</font></td>
<td width="80%"><input type="text" name="subject" size="40" maxlength="40" value="<?php if (isset($_SESSION['c_subject'])) {echo stripslashes(hesk_input($_SESSION['c_subject']));} ?>" <?php if (in_array('subject',$_SESSION['iserror'])) {echo ' class="isError" ';} ?> /></td>
</tr>
Code: Select all
$tmpvar['subject'] = hesk_input($_POST['subject']) or $hesk_error_buffer['subject']=$hesklang['enter_ticket_subject'];
Code: Select all
$tmpvar['subject'] = 'Support ticket';
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: How to delete SUBJECT field?
Thank You
I`m sorry for late reply to say Thanks, but I didn`t receive any info about your reply here.
I probably didn`t tick box below about notification

I`m sorry for late reply to say Thanks, but I didn`t receive any info about your reply here.
I probably didn`t tick box below about notification