add a personal area for each user

Author Message

ivan posta

Thursday 26 March 2009 5:36:28 am

hi

I need to have a personal page for each user (after login) with more personal data as name, surname , city, telephon , ect ,ect . User can edit its data and the edministrator too.

is it possible with ezPublish ?
if yes , have to I customize this application with: templete ? object class or in php?

thanks

Andreas Kaiser

Saturday 28 March 2009 10:58:15 am

Some questions:

- will the user only change/edit personal information like email, password, address, etc? Then you can create a template for editing user object after login (you can use "RedirectAfterLogin" in the login form to send the user to the specific template)

- if you want that the user can create/edit multiple objects/classes (for example blog post, files, etc) a good idea is to create a personal "folder" where the user can "create" objects. In this case you can use personal folder extension and http://ez.no/developer/contribs/datatypes/ez_user_create_limit

In both situations you will need to create templates and adapt user roles/policies...

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

André R.

Saturday 28 March 2009 12:23:32 pm

Note that 4.1 added support for limiting create rules based on parent node's owner / owner group, it is way better to use that then trying to impose access rules in template code (performance / security).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Andreas Kaiser

Sunday 29 March 2009 4:06:04 am

Wow! Thanks Andre for that comment...

Didn't notice the new policies - now it will be much easier to build sites with user created content...

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

ivan posta

Sunday 29 March 2009 4:59:44 am

ok

new question -:)

how create a personal are where each use have page info,document, file, text that only the admin can insert, update

thanks

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 15:05:47
Script start
Timing: Jan 18 2025 15:05:47
Module start 'layout'
Timing: Jan 18 2025 15:05:47
Module start 'content'
Timing: Jan 18 2025 15:05:47
Module end 'content'
Timing: Jan 18 2025 15:05:47
Script end

Main resources:

Total runtime0.7105 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.0469152.6250
Module start 'layout' 0.00560.0032 741.671939.4453
Module start 'content' 0.00880.7002 781.1172598.8203
Module end 'content' 0.70900.0015 1,379.937512.4688
Script end 0.7105  1,392.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4447160.0002
Check MTime0.00130.1850160.0001
Mysql Total
Database connection0.00060.084710.0006
Mysqli_queries0.656192.3383650.0101
Looping result0.00060.0887630.0000
Template Total0.677095.320.3385
Template load0.00190.266120.0009
Template processing0.675195.015220.3375
Template load and register function0.00010.019310.0001
states
state_id_array0.00190.271610.0019
state_identifier_array0.00140.201420.0007
Override
Cache load0.00160.2260260.0001
Sytem overhead
Fetch class attribute can translate value0.00050.069930.0002
Fetch class attribute name0.00200.284770.0003
XML
Image XML parsing0.00110.151030.0004
class_abstraction
Instantiating content class attribute0.00000.003780.0000
General
dbfile0.00090.1230230.0000
String conversion0.00000.001440.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs