Help Desk Software & Beyond
May 21, 2012, 10:43:33 PM
Welcome,
Guest
. Please
login
or
register
.
To post messages
you need to register. We apologize for inconvenience, but this is to prevent spam.
Registration is instant (no email verification) and we do not ask for any personal information.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Welcome to Help Desk Software forum!
Home
Help
Search
Login
Register
Help Desk Software & Beyond
>
Forum
>
Trouble Ticket Express
>
Modifications
(Moderator:
Sparky
) >
[REQ] How to have Different Email Text Per Group
Pages: [
1
]
« previous
next »
Print
Author
Topic: [REQ] How to have Different Email Text Per Group (Read 1347 times)
speedcoder
Newbie
Karma: 0
Posts: 5
[REQ] How to have Different Email Text Per Group
«
on:
May 23, 2007, 05:05:17 PM »
Dear Alex:
TroubleTicketsExpress is the most easier and funcional help desk out there, it serves the purpose. It just works.
Issue, i know you may have a solution for me:
I need depending on the group selected on the form to send a different newticket.txt to submitter.
This is what ive tryied already without any lock:
I have created Three copies of "templates" directory as sudgested on an earlier post. These are called "styles" i guess. Then on each of those folders "newticket.txt" file i have made notizable changes, and they are all different.
When i submit the different forms i created, which all reffer to a certain group only, its not using the style "newticket.txt", on that folder, its using the default one.
This is what a form looks like. I have specified the style on the hidden field.
<table width=550 cellspacing=0 cellpadding=0 bgcolor="#CFDCE8">
<tr>
<td align=center><br class=tiny>
<form method=post action="/scripts/ttx.cgi" name=newticket enctype="multipart/form-data" onSubmit="return onlyonce()">
<input type=hidden name=cmd value=newticket>
<input type=hidden name=style value="refund">
<input type=hidden name=sid value=>
<input type=hidden name=do value=1>
<input type=hidden name=tid value=>
<input type=hidden name=form value=>
<table cellspacing=0 cellpadding=3>
<tr>
<td align=right class=lbl>Name<font color=red><sup>*</sup></font></td>
<td align=left><input type=text size=25 name=name value=""></td>
</tr>
<tr>
<td align=right class=lbl>Email<font color=red><sup>*</sup></font></td>
<td align=left><input type=text size=25 name=email value=""></td>
</tr>
<tr>
<td align=right class=lbl>Problem<font color=red><sup>*</sup></font></td>
<td align=left><select name=grp>
<option value=group8>Refund Request</option>
</select></td>
</tr>
<tr>
<td align=right class=lbl>Subject<font color=red><sup>*</sup></font></td>
<td align=left><input type=text size=40 name=subject value=""></td>
</tr>
<tr>
<td colspan=2 align=center><table cellspacing=0 cellpadding=0>
<tr>
<td align=left><span class=lbl>Problem</span> <a href=#teditor onClick="return preview()">preview</a><br class=tiny>
<textarea name=problem wrap=virtual cols=50 rows=10></textarea>
</td>
</tr>
</table></td>
</tr>
<tr>
<td colspan=2 align=left></td>
</tr>
<tr>
<td align=left> </td>
<td align=right><input type=submit value="Submit">
<br>
<br class=tiny></td>
</tr>
</form>
</table>
</td>
</tr>
</table>
«
Last Edit: January 18, 2008, 03:28:48 PM by sparky672
»
Logged
Alex
Administrator
Hero Member
Karma: 22
Posts: 605
Re: HELP PLEASE - How to have Different Email Text Per Group
«
Reply #1 on:
May 24, 2007, 09:19:48 AM »
The 'style' modifier affects web templates only. Email templates are being always retrieved from default templates folder.
Logged
Follow me on:
LinkedIn
speedcoder
Newbie
Karma: 0
Posts: 5
Re: HELP PLEASE - How to have Different Email Text Per Group
«
Reply #2 on:
May 24, 2007, 10:44:55 AM »
So alex, what is the workaround? How do i send different "newtickets.txt" to users that specified certain group on form. I guess there's something i could to.
Logged
Alex
Administrator
Hero Member
Karma: 22
Posts: 605
Re: HELP PLEASE - How to have Different Email Text Per Group
«
Reply #3 on:
May 25, 2007, 12:39:33 PM »
Currently there is no a workaround as styles is undocumented (i.e. not finalized feature).
Logged
Follow me on:
LinkedIn
speedcoder
Newbie
Karma: 0
Posts: 5
Re: HELP PLEASE - How to have Different Email Text Per Group
«
Reply #4 on:
May 25, 2007, 12:53:52 PM »
Thanks Alex... Ill keep subscribed to my post in case this goes out... It will definetely be a nice thing to have.. Thanks!!!!!!!!!!
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Forum
-----------------------------
=> News, Announcements & Rules
=> Trouble Ticket Express
===> Troubleshooting/Setup
===> Modifications
=> HelpDesk Connect
Loading...