Sample content/edit extension handler?

Author Message

Andrew Kelly

Friday 18 August 2006 2:05:51 am

Anybody out there have a complete content/edit extension handler they can share?
Or is there some proper documentation that somebody can point me to?

Andy

Kristof Coomans

Sunday 20 August 2006 3:17:49 am

Hi Andy

Lukasz wrote a nice article about this: http://serwatka.net/en/blog/do_you_need_action

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Andrew Kelly

Monday 21 August 2006 5:49:55 am

Ah, great, thanks for the tip, Kristof. I'll have a look.

Andy

Kristof Coomans

Monday 21 August 2006 7:36:42 am

Hi

I'm sorry, have been to quick. The article I mentioned explains how to use a content action handler, not a content edit handler.

Haven't seen any content/edit handlers out there yet, but it's not that hard to make one. I once tried it myself just to see how it worked. I'll take a look if I can find that code back for you.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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 20:59:17
Script start
Timing: Jan 18 2025 20:59:17
Module start 'layout'
Timing: Jan 18 2025 20:59:17
Module start 'content'
Timing: Jan 18 2025 20:59:18
Module end 'content'
Timing: Jan 18 2025 20:59:18
Script end

Main resources:

Total runtime0.7386 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.1484152.6250
Module start 'layout' 0.00520.0029 741.773439.4453
Module start 'content' 0.00820.7289 781.2188550.9375
Module end 'content' 0.73700.0015 1,332.156312.1563
Script end 0.7385  1,344.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.3954160.0002
Check MTime0.00120.1669160.0001
Mysql Total
Database connection0.00080.111310.0008
Mysqli_queries0.688093.1589600.0115
Looping result0.00050.0693580.0000
Template Total0.712596.520.3562
Template load0.00180.243720.0009
Template processing0.710796.220520.3553
Template load and register function0.00020.020610.0002
states
state_id_array0.00070.101010.0007
state_identifier_array0.00090.116720.0004
Override
Cache load0.00140.1954200.0001
Sytem overhead
Fetch class attribute can translate value0.00060.082220.0003
Fetch class attribute name0.00110.146760.0002
XML
Image XML parsing0.00270.367520.0014
class_abstraction
Instantiating content class attribute0.00000.001880.0000
General
dbfile0.00320.4274220.0001
String conversion0.00000.000940.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/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: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs