Create folder automatic

Author Message

Eder Silva

Friday 16 February 2007 3:33:20 am

Hello my friends !!

When I create new User I need create too a new folder with the first name that user automatic

I don't know how make it, maybe trigger? workflow ?

Thanks for any answer !

Claudia Kosny

Friday 16 February 2007 6:06:09 am

Hi Eder

If you are comfy with PHP you can build upon Lukasz' custom edit handler http://serwatka.net/index.php/en/blog/ez_publish_3_8_new_custom_edit_handler. It is not perfect yet (e.g afaik it creates a new folder everytime the user is edited), but it is very easy to implement and can be nicely done as an extension without using triggers and workflows.

You can also try http://ez.no/community/contribs/workflow/personal_folder but it seems to have some issues on eZ 3.8 and involves changing a core file, so this might not be the best idea.

Claudia

Eder Silva

Friday 16 February 2007 10:00:29 am

Perfect Claudia !!

Very 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 31 2025 01:32:01
Script start
Timing: Jan 31 2025 01:32:01
Module start 'layout'
Timing: Jan 31 2025 01:32:01
Module start 'content'
Timing: Jan 31 2025 01:32:02
Module end 'content'
Timing: Jan 31 2025 01:32:02
Script end

Main resources:

Total runtime1.2822 sec
Peak memory usage8,192.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0091 588.1250151.2109
Module start 'layout' 0.00910.0041 739.3359220.6875
Module start 'content' 0.01321.2681 960.02344,406.2969
Module end 'content' 1.28130.0008 5,366.32037.8594
Script end 1.2821  5,374.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3047160.0002
Check MTime0.00140.1127160.0001
Mysql Total
Database connection0.00150.120010.0015
Mysqli_queries1.191092.8925570.0209
Looping result0.00080.0630550.0000
Template Total1.220695.220.6103
Template load0.00240.189320.0012
Template processing1.218295.008620.6091
Template load and register function0.00150.118610.0015
states
state_id_array0.00260.199410.0026
state_identifier_array0.00190.145420.0009
Override
Cache load0.00200.1553170.0001
Sytem overhead
Fetch class attribute can translate value0.00200.157620.0010
Fetch class attribute name0.00260.203340.0007
XML
Image XML parsing0.00210.161720.0010
class_abstraction
Instantiating content class attribute0.00000.001150.0000
General
dbfile0.00230.1758160.0001
String conversion0.00000.000840.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