Forums / Developer / Redirect after loggin or register

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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.