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
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work! Want to give me something back for my help? Please see my
Amazon Wish List GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500) Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin |
Pre-Made Template Sets |
FREE GLinks Plugins! Compare our different Plugin packages *new* Free CSS Templates