Module for user pages

Author Message

Ivan Švogor

Wednesday 22 September 2010 6:56:12 am

Hello, I'm am interested in a module, extension, or a way I can handle the following situation. I would like to enable my users to a possibility to manage their own personal pages in form of adding CV, projects, interests and so on... Is there a way to handle this?

Gaetano Giunta

Wednesday 22 September 2010 1:31:10 pm

You could create a user_profile class, and give each user permissions to create content objects of type cv / project /etc only in a user_profile of which they are the owners.

Then you need to either let the users create their own user_profile when they log on, or set up a workflow that creates it for them as soon as they register.

You might also want to set up a workflow to check that a user does not create two user profiles.

Technically, you could use the user object as profile page, but by default users are stored in a separate content tree, and this imposes some restrictions - but you can set up site.ini so that new users are in fact created in the main content tree. Take care about that: having user object world readable might have security implications...

Principal Consultant International Business
Member of the Community Project Board

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 02:08:25
Script start
Timing: Jan 18 2025 02:08:25
Module start 'layout'
Timing: Jan 18 2025 02:08:25
Module start 'content'
Timing: Jan 18 2025 02:08:26
Module end 'content'
Timing: Jan 18 2025 02:08:26
Script end

Main resources:

Total runtime0.8870 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0074 587.9063152.6250
Module start 'layout' 0.00740.0052 740.531339.4297
Module start 'content' 0.01260.8729 779.9609524.6875
Module end 'content' 0.88550.0015 1,304.64848.1875
Script end 0.8870  1,312.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3841160.0002
Check MTime0.00140.1587160.0001
Mysql Total
Database connection0.00160.180410.0016
Mysqli_queries0.844195.1633540.0156
Looping result0.00050.0596520.0000
Template Total0.854896.420.4274
Template load0.00210.239520.0011
Template processing0.852696.122920.4263
Template load and register function0.00020.025410.0002
states
state_id_array0.00080.093710.0008
state_identifier_array0.00090.102920.0005
Override
Cache load0.00170.1965100.0002
Sytem overhead
Fetch class attribute can translate value0.00060.069820.0003
Fetch class attribute name0.00090.105930.0003
XML
Image XML parsing0.00080.089720.0004
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00100.1132160.0001
String conversion0.00000.001640.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs