Forums / Developer / disable redirect after login for one page
Alexandr Pilyavskiy
Monday 17 May 2010 4:04:14 am
how can i disable redirect after login if user login from "special" page ?
Geoff Bentley
Tuesday 18 May 2010 2:55:38 pm
Hi Alexandr, What version of eZ Publish are you using? Is the login form embedded in the "special" page?
Tuesday 18 May 2010 5:03:37 pm
You will probably need to edit your user/login.tpl template and check the uri_string in the module result to see if it matches your node id, then change the hidden RedirectURI field accordingly.
Let me know if this doesn't make sense.
Tuesday 18 May 2010 9:32:14 pm
problem solved with javascript. This was custom page from extension and no any variables was aviable from there. But thanks for reply, i'm noobie in ez publish and i think there is a solution on ezpublish. )