Hi,
Mmm, not quite as simple as just using a javacscript.back(-1), cos that may not actually take them back to the right place.
I'm assuming what you really want, is for them to see a link back to the page they were last one, before going to modify.cgi?
If so, in include_form.html, add this:
Code:
<input type="hidden" name="prev_url" value="<%Plugins::ULTRAGlobals::Get_Page_Referrer()%>" />
Then, on modify_success.html / add_success.html, you can then use:
Code:
<a href="<%prev_url%>">Click here to return to the page you were last on</a>
Untested, but should work fine =)
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my
Amazon Wish List GLinks ULTRA Package | GLinks ULTRA Package PRO Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin |
Pre-Made Template Sets |
FREE GLinks Plugins!