Personal folders

Author Message

Bjarte Lunde

Sunday 06 January 2008 4:03:58 pm

Hi there.

I want to create a site where the users can publish one object wich is a container and several subitems. How can i do this in eZpublish 4 ?

CustomEditHandler?
Workflow?
Any sample codes?

Xavier Dutoit

Monday 07 January 2008 8:45:05 am

Kristof wrote a contrib a while ago to do that (an event that create the right structure upon the creation of a user).

Haven't tested it on ez 4, let us know if it works.

X+

http://www.sydesy.com

Piotrek Karaƛ

Monday 07 January 2008 9:27:03 am

I believe Xavier's suggesion is a more appropriate one because it relies on the built-in access control features, but that can also be achieved with the extension I have written for limiting the amount of objects that users can create:
http://ez.no/developer/contribs/datatypes/ez_user_create_limit
Hope you find it useful.

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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

Main resources:

Total runtime1.5953 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.0073 587.8125152.6094
Module start 'layout' 0.00730.0032 740.421939.4141
Module start 'content' 0.01051.5832 779.8359572.0781
Module end 'content' 1.59370.0015 1,351.914112.1875
Script end 1.5953  1,364.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2088160.0002
Check MTime0.00140.0869160.0001
Mysql Total
Database connection0.00130.079310.0013
Mysqli_queries1.535796.2659590.0260
Looping result0.00060.0353570.0000
Template Total1.554097.420.7770
Template load0.00210.134720.0011
Template processing1.551897.272120.7759
Template load and register function0.00020.012910.0002
states
state_id_array0.00130.082910.0013
state_identifier_array0.00080.049420.0004
Override
Cache load0.00170.1065180.0001
Sytem overhead
Fetch class attribute can translate value0.00090.054330.0003
Fetch class attribute name0.00220.136450.0004
XML
Image XML parsing0.00120.072230.0004
class_abstraction
Instantiating content class attribute0.00000.000950.0000
General
dbfile0.00080.0525230.0000
String conversion0.00000.000640.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs