LoginRedirectionUriAttribute problem

Author Message

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 16:05:58
Script start
Timing: Jan 18 2025 16:05:58
Module start 'layout'
Timing: Jan 18 2025 16:05:58
Module start 'content'
Timing: Jan 18 2025 16:05:58
Module end 'content'
Timing: Jan 18 2025 16:05:58
Script end

Main resources:

Total runtime0.0171 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.1484152.6406
Module start 'layout' 0.00540.0026 741.789139.4766
Module start 'content' 0.00800.0067 781.265689.4609
Module end 'content' 0.01470.0024 870.726630.3047
Script end 0.0171  901.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002514.4680140.0002
Check MTime0.00116.1818140.0001
Mysql Total
Database connection0.00084.713410.0008
Mysqli_queries0.002614.960330.0009
Looping result0.00000.075310.0000
Template Total0.001810.810.0018
Template load0.00116.275310.0011
Template processing0.00084.462410.0008
Override
Cache load0.00063.563010.0006
General
dbfile0.00021.186780.0000
String conversion0.00000.043240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs