Liberum Help Desk
The free, open source solution for the web-based help desk.

HELP url to be placed in subject of email template when clicking username

rated by 0 users
This post has 2 Replies | 0 Followers

Top 500 Contributor
Posts 1
bluenetworks Posted: 02-25-2009 9:48 PM

Under the username you can click on the user next to the job and that brings up a message with the subject already populated.  We need to modify the search results page so that the subject includes the URL of the job.....e.g subject is:

Helpdesk Job ****- Quote for equipment http://helpdesk.com.au

We want the URL to be a hyperlink. I have got all the other parts of the subject apart from the url and hyperlink to work when i add the line it i get a record set error. What changes to i have to make the the asp files on the server. The hyperlink should be actual job url

 If you require certain information please note this in the conversation and i will get an answer for you

Thank you

Top 50 Contributor
Posts 4

If you want a link to show up when using the mailto parameter, you can just put it in as text. 

<A HREF="MAILTO:test@test.com?SUBJECT=Helpdesk: http://www.test.com&amp;BODY=Click http://www.test.com here">Email2</a>

Produces: Click http://www.test.com here in the body of the email.  Most recent email clients will recognize the http:// and turn it into a clickable link for you.  I believe this is what you are trying to accomplish.  You can edit the view.asp file in the rep folder.  You can change this line:

<td nowrap><A HREF="mailto:<% = listRes("uemail") %>?Subject=HELPDESK: Problem <% = listRes("id") %>"><% = listRes("uid") %></A></td>

To something like:

<td nowrap><A HREF="mailto:<% = listRes("uemail") %>?Subject=HELPDESK: Problem <% = listRes("id") %> http://yourwebserver/liberum/rep/view.asp?=<% = listRes("id") %>"><% = listRes("uid") %></A></td>

 

That MAY produce the desired result.  I didn't actually try this, so who knows if it will actually work.  The key is letting the email client recognize the http:// link and convert it for you.  In some clients, it will only do this for the BODY section of the email.  So links in the subject line may not be clickable.  Someone may have a better answer than that, but that may work for what you want to do.

Top 50 Contributor
Posts 4

If you just add http://www.test.com/liberum/rep/view.asp?=<%  = listRes("id") %> as your link, it should work.  LIke this:

<A HREF="MAILTO:test@test.com?SUBJECT=Helpdesk: http://www.test.com&amp;BODY=Click http://www.test.com/liberum/rep/view.asp?=<%  = listRes("id") %> here">Email2</a>

That will produce: Click http://www.test.com/liberum/rep/view.asp?=<%  = listRes("id") %> here in the body of the email (with listRes replaced with the id # of the problem).  The email client will pick up the link without you adding any <a href stuff to it.  Most modern clients will do this.   This may or may not work, i didn't test it. :)

Page 1 of 1 (3 items) | RSS
Copyright © Doug Luxem 2000-2010
Powered by Community Server (Non-Commercial Edition), by Telligent Systems