Ezxmlinstaller

Author Message

Håvard Bergersen

Monday 05 July 2010 5:12:24 am

I nedd some content to be created when a user registers, in the same way as content is created when a teamroom is created in ezteamroom.

I understand the syntax of the xml etc, but what i don't understand is how the extension executes the xml. When and how? Where do I tell ez publish to execute my .tpl file and how?

What i need is a example on the ezcreatecontent handler. From start to end. :) Or an explanation of some sort..

Thanks in advance :)

Håvard Bergersen

Thursday 08 July 2010 2:19:56 pm

Anyone?

Jérôme Vieilledent

Friday 09 July 2010 7:36:16 am

Hi Håvard

I'm not sure eZXMLInstaller is your solution.

IMHO, what you need is a content edit handler. You can find an explanation about content edit handlers, and more about validation rules on Lukasz blog

Håvard Bergersen

Friday 09 July 2010 10:47:03 am

Thank you very much! :)

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 29 2025 14:38:33
Script start
Timing: Jan 29 2025 14:38:33
Module start 'layout'
Timing: Jan 29 2025 14:38:33
Module start 'content'
Timing: Jan 29 2025 14:38:33
Module end 'content'
Timing: Jan 29 2025 14:38:33
Script end

Main resources:

Total runtime0.0116 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0037 588.0078151.1953
Module start 'layout' 0.00370.0022 739.203136.6094
Module start 'content' 0.00590.0046 775.812594.1953
Module end 'content' 0.01060.0011 870.007833.9922
Script end 0.0116  904.0000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.001815.7622140.0001
Check MTime0.00097.5489140.0001
Mysql Total
Database connection0.00065.494610.0006
Mysqli_queries0.002218.489030.0007
Looping result0.00000.086110.0000
Template Total0.00086.810.0008
Template load0.00065.408510.0006
Template processing0.00021.349110.0002
Override
Cache load0.00043.725310.0004
General
dbfile0.001613.509080.0002
String conversion0.00000.049240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs