Or you could pass the URL of the web page that they were in via the rate form...
Like the following:
1) Create a new global tag called referer...
Use $ENV{'HTTP_REFERER'} as its config.
2) Then in the rate.html and rate_error.html file, add the following hidden field:
<input type="hidden" name="referer" value="<%referer%>">
3) Then in the rate_success.html template file, simply add a link (or use the META refresh tag):
<a href="<%referer%>">Back to Previous Page</a>
Of course, there are other options like using the javascript history code with (-2) rather than (-1) to go back to the "previous" page...or provide a link back to the MAIN category where the link is found....
I have both available in my rate_success.html template file.
Regards,
Eliot Lee
Like the following:
1) Create a new global tag called referer...
Use $ENV{'HTTP_REFERER'} as its config.
2) Then in the rate.html and rate_error.html file, add the following hidden field:
Code:
<input type="hidden" name="referer" value="<%referer%>">
3) Then in the rate_success.html template file, simply add a link (or use the META refresh tag):
Code:
<a href="<%referer%>">Back to Previous Page</a>
Of course, there are other options like using the javascript history code with (-2) rather than (-1) to go back to the "previous" page...or provide a link back to the MAIN category where the link is found....
I have both available in my rate_success.html template file.
Regards,
Eliot Lee