Hidden link by clicking on the file name (attachments)

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
HeskPro
Posts: 6
Joined: Thu Sep 13, 2018 8:10 pm

Hidden link by clicking on the file name (attachments)

Post by HeskPro »

Hi. At the moment, the following is implemented:
When you send a notification about a new ticket with a file (attachments) to the employee's e-mail, a link to the file is displayed as follows:
File name and Link: very long link name......
How to make when you click on File name you can download the file. Hyperlink by clicking on the file name.
What to change in the email_function file.inc.php on line 1143 :

Code: Select all

$msg .= "\n\n". $att_name. "\n". $hesk_settings['hesk_url'] . '/download_attachment.php?att_id='.$att_id.'&track='.$ticket ['trackid'].$hesk_settings['e_param']; 
Need <a hesk_url.... > $att_name. < / a>
How to implement it?
Klemen
Site Admin
Posts: 10144
Joined: Fri Feb 11, 2005 4:04 pm

Re: Hidden link by clicking on the file name (attachments)

Post by Klemen »

You need HTML emails for that. Hesk currently doesn't support them (uses plain text).

You can try using Mods for Hesk (it supports HTML emails) or modify the code yourself to support HTML emails (if you are experienced in PHP/HTML).
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