Share » Forums » General » Ez 3.8.0 - Advanced (user-group)...

Ez 3.8.0 - Advanced (user-group) redirection not working?

Ez 3.8.0 - Advanced (user-group) redirection not working?

Thursday 08 June 2006 8:17:56 pm - 6 replies

Author Message

Kristof Coomans

Thursday 08 June 2006 11:16:13 pm

Hi Paul

I think the advanced redirection only works when logging in is required on your site.

In site.ini.append:

[SiteAccessSettings]
RequireUserLogin=true

Please confirm.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Ɓukasz Serwatka

Thursday 08 June 2006 11:50:16 pm

In doc example is typo:

replace
LoginRedirectionURIAttribute

with
LoginRedirectionUriAttribute

And example is worng.

LoginRedirectionUriAttribute as key takes 2 values ony "user" and "group"

Try with:

LoginRedirectionUriAttribute[group]=your_class_attribute_with_uri

or for user try

LoginRedirectionUriAttribute[user]=your_class_attribute_with_uri

This will be fixed today.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Paul Wilson

Friday 09 June 2006 4:27:35 am

Thanks for your replies Kristof and Lukasz,

I made the changes suggested by Lukasz and everything works wonderfully.

Daniele Nocentini

Tuesday 26 September 2006 2:40:59 am

I read the documentation at:
http://ez.no/doc/ez_publish/technical_manual/3_8/features/advanced_redirection_after_login

but in my 3.8.4 installation does not work.
I have this setting:

[UserSettings]
DefaultUserPlacement=2867
UserClassID=40
LoginRedirectionUriAttribute[group]=login_redirection_uri
LogoutRedirect=/webstore

Antica Bottega Digitale srl
http://www.abd.it

Claudia Kosny

Tuesday 26 September 2006 11:53:24 am

Hi Daniele

it is working alright in my EZ 3.8.4. I don't especially like it that the redirect is disabled under certain circumstances ( I am referring to the last paragraph in the docu you linked to) but after playing around with it a bit I realise that this makes sense sometimes so I am undecided on this feature. Nevertheless - it worked fine.

Maybe you just need to clear the cache after updating your userclass with the redirection uri - not sure. If you can't solve it, fetch your user group, inspect it with attribute('show', 2) and post the result here. Also please tell us what is happening on log in - does it redirect to the previously visited page (in this case: What happens if you did not visit any page before?)

Greetings from Luxembourg

Claudia

Daniele Nocentini

Friday 02 March 2007 3:00:38 am

In this documentation page:
http://ez.no/doc/ez_publish/technical_manual/3_8/features/advanced_redirection_after_login

I have read this:

"If the redirection URI has already been specified (e.g. via 'LastAccessesURI' session variable),
the advanced redirection feature gets disabled.
That means that if a user starts browser and goes to our.site.com/news,
he/she will _not_ be redirected to his/her "home page"."

How can I set Login Redirection Uri Attribute always on? and escape this behavior?

Antica Bottega Digitale srl
http://www.abd.it

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

36 542 Users on board!

Forums menu