eZ Community » Forums » Setup & design » redirect
expandshrink

redirect

redirect

Saturday 26 November 2011 3:49:20 pm - 1 reply

I do upgrade from 4.3.0 tu 4.4.0. without any changes.

I have combinie form userregister/login in shop workflow.

Now after login the redirect in that form always directs to the startpage and not like before update to /shop/basket, as it should be.

how can redirect to shop/basket after login?

 

thanks

S.

Saturday 26 November 2011 4:43:22 pm

Hello Martin,

 

I think you should try adding a redirect (hidden) form field parameter which contains the uri of the folder you would like to redirect to after successful login.

 

Here is an example, you can add this code to ta template override of the default login.tpl template ...

<input type="hidden" name="RedirectURI" value="/shop/basket">

 

Alternatively if the above does not work for you. Then you can create a custom login handler.

http://share.ez.no/blogs/thiago-campos-viana/tip-custom-login-handler

 

Remember to clear your caches first before testing.

 

I hope this helps ...

 

Cheers,

Heath

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from