This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » Redirect to the same page after login

Redirect to the same page after login

Redirect to the same page after login

Monday 28 December 2015 6:13:21 pm - 1 reply

I have a page My-page which is forbidden for anonymous users (hidden by section).
When user opens the page it shows a login. I want user to be redirected to the same page when user logs in. How can I get that current node $ in login.tpl so RedirectURI will redirect them to the current node? I'm using 2014.7 (legacy mode)
Thanks in advance

Tuesday 29 December 2015 3:02:23 pm

I've solved by creating a new operator which holds current page ($_SERVER["PHP_SELF"]) and added value of operator to the RedirectURI hidden field.


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from