Redirect after loggin or register

Author Message

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

David Santiso

Saturday 11 June 2011 9:58:14 am

Thanks,

David

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

David Santiso

Tuesday 21 June 2011 12:06:25 pm

I also test this solution and yes, it works.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.