Forums / Setup & design / LoginRedirectionUriAttribute problem
Paul Etienney
Wednesday 17 September 2008 3:01:56 am
Hello,
My redirection rules do not work. I copy my code.
LoginRedirectionUriAttribute[apporteur]=redirection_uri
My apporteur class is ok, my attribute redirection_uri is ok and i published apporteur object with this redirection attribute value : /Tableaux-de-bord/Tableau-de-bord-agence
The full adresse of this is : www.mysite.com/index.php/ezwebin_site/Tableaux-de-bord/Tableau-de-bord-agence
It does not work. I am wondering it the LoginRedirectionUriAttribute can be used with custom class (different of user and group)
Do you have an idea ?
Have a good day.
-- Good websites creation -- My site : http://www.pauletienney.com Twitter : http://www.twitter.com/p_etienney
Andrew Duck
Wednesday 17 September 2008 10:49:38 am
Hi Paul,
You should try:
LoginRedirectionUriAttribute[user]=redirection_uri
You should find the [key] usage detailed on the following page of the documentation: http://ez.no/doc/ez_publish/technical_manual/4_0/features/advanced_redirection_after_login
Your [key] can be of only two values, 'user' or 'group' and this value "redirection_uri" will apply to any user (or group) class(es).
Regards,Andrew.
Andrew Duck, Executive Director, Quiqcorp Limited eZ Certified Developer and Trainer. Member of the Community Project Board http://quiqcorp.com | http://twitter.com/andrewduck