Forums / Developer / Redirect after loggin or register
David Santiso
Sunday 05 June 2011 10:35:41 am
Hi,
How can I do to redirect to the section I'm viewing just before loggin?
Thanks,
David
Lo' F.
Tuesday 07 June 2011 3:12:12 am
..perhaps through {ezhttp( 'LastAccessesURI', 'session' )}
in the templates/user/login.tpl change the value of the hidden input with name RedirectURI
<input type="hidden" name="RedirectURI" value="{$User:redirect_uri|wash}" />
to
<input type="hidden" name="RedirectURI" value="{ezhttp( 'LastAccessesURI', 'session' )}" />
loredanaebook.it
Saturday 11 June 2011 9:58:14 am
Amine BETARI
Tuesday 21 June 2011 7:07:55 am
Hello, I just test this solution, it does not work you confirm? but thank you very much for the reply
Tuesday 21 June 2011 12:06:25 pm
I also test this solution and yes, it works.