Login page per user

Author Message

Sten Thorstensen

Friday 04 December 2009 12:45:22 pm

How can I set default login page per user? I want the first page after login to be different on the different users and/or user groups.

Sander van den Akker

Friday 18 December 2009 11:05:19 am

you can achieve this by disabling cache in the template the login redirects to and then use a switch statement that checks the current user(group).

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

Tero Auralinna

Saturday 19 December 2009 2:33:26 am

or use redirection after login feature: http://ez.no/doc/ez_publish/technical_manual/4_x/features/advanced_redirection_after_login

NXC Finland - Open Source solutions, Internet marketing and web analytics
http://www.nxc.fi
http://www.auralinna.fi
http://twitter.com/teroauralinna

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 10:22:12
Script start
Timing: Jan 18 2025 10:22:12
Module start 'layout'
Timing: Jan 18 2025 10:22:12
Module start 'content'
Timing: Jan 18 2025 10:22:13
Module end 'content'
Timing: Jan 18 2025 10:22:13
Script end

Main resources:

Total runtime0.8676 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.9219152.6094
Module start 'layout' 0.00540.0030 741.531339.4297
Module start 'content' 0.00840.8575 780.9609571.3672
Module end 'content' 0.86590.0017 1,352.328112.1875
Script end 0.8676  1,364.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3483160.0002
Check MTime0.00130.1470160.0001
Mysql Total
Database connection0.00080.091010.0008
Mysqli_queries0.819794.4689590.0139
Looping result0.00060.0656570.0000
Template Total0.830895.820.4154
Template load0.00180.210120.0009
Template processing0.828995.539620.4145
Template load and register function0.00010.013210.0001
states
state_id_array0.00130.144110.0013
state_identifier_array0.00170.198020.0009
Override
Cache load0.00140.1642100.0001
Sytem overhead
Fetch class attribute can translate value0.00060.071930.0002
Fetch class attribute name0.00250.282950.0005
XML
Image XML parsing0.00190.216530.0006
class_abstraction
Instantiating content class attribute0.00000.001050.0000
General
dbfile0.00330.3758230.0001
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs