/*************************************
Title: ?
Version: 2.0
Author:
Demo: N/A
Download: N/A
Website: localhost atm
Short description:
*************************************/
Hi, is there any way I can have, "Hi %%HESK_NAME%%," then two line breaks be automatically added to the TextField in admin_ticket.php like the automatic signature (defined within your user profile)?
The only way I can see to do this at the moment is to either manually type the customers name in or make a canned reply and add it everytime. Would be nice to have this already in the TextField so you just need to type/add the main solution/body text.
Thanks
[RESOLVED] Make %%HESK_NAME%% work in admin_ticket.php
Moderator: mkoch227
[RESOLVED] Make %%HESK_NAME%% work in admin_ticket.php
Last edited by Raven on Sat Oct 17, 2009 7:03 pm, edited 1 time in total.
I have something like this in my HESK, I just might add it as an option to the next version. For now you can open admin_ticket.php in a text editor and change to
Code: Select all
<textarea name="message" id="message" rows="12" cols="60"></textarea>
Code: Select all
<textarea name="message" id="message" rows="12" cols="60"><?php echo "Hi $ticket[name],\n\n"; ?></textarea>
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
works great, maybe an idea to make this permanent for the next release? Using languagefiles ofcourseKlemen wrote:I have something like this in my HESK, I just might add it as an option to the next version. For now you can open admin_ticket.php in a text editor and changetoCode: Select all
<textarea name="message" id="message" rows="12" cols="60"></textarea>
Code: Select all
<textarea name="message" id="message" rows="12" cols="60"><?php echo "Hi $ticket[name],\n\n"; ?></textarea>

-
- Posts: 15
- Joined: Thu Jan 07, 2010 8:50 pm