Friday 19 August 2011 5:53:00 am - 3 replies

Introduction

In this post I will show how to create the minimum content action extension.

» Read full blog post

Author Message

Geoff Bentley

Saturday 20 August 2011 3:47:13 am

Great tips Thiago!  My only suggestion would be that, in order for your tips to be helpful to a range of developers (ie, from beginners to intermediates), it would be useful to provide a brief intro to the topic and a use-case, with a link to further documentation.

e.g "The 'content/action' view is commonly used to process forms - while eZ Publish does a lot of validation, you may want to customise this."

Keep up the good work!

Thiago Campos Viana

Sunday 21 August 2011 5:27:37 pm

"

Great tips Thiago!  My only suggestion would be that, in order for your tips to be helpful to a range of developers (ie, from beginners to intermediates), it would be useful to provide a brief intro to the topic and a use-case, with a link to further documentation.

e.g "The 'content/action' view is commonly used to process forms - while eZ Publish does a lot of validation, you may want to customise this."

Keep up the good work!

"

Oh sorry, I make it quick and forgot to put a sample link, thank you!

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Franck Grenier

Wednesday 24 August 2011 8:14:56 am

Hello,
thanks for the tip. However, ContentActionHandlers do not execute on each action. (for example, "actioncollectinformation" ).

You can have a look at the awful action.php view in kernel/content/ to know if your action will fire the ContentActionHandler.

Developer at Open Wide

You must be logged in to post messages in this topic!

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 13:34:50
Script start
Timing: Jan 29 2025 13:34:50
Module start 'layout'
Timing: Jan 29 2025 13:34:50
Module start 'content'
Timing: Jan 29 2025 13:34:50
Module end 'content'
Timing: Jan 29 2025 13:34:50
Script end

Main resources:

Total runtime0.0120 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.0045 588.2656151.2266
Module start 'layout' 0.00450.0024 739.492236.6875
Module start 'content' 0.00690.0040 776.179798.7656
Module end 'content' 0.01090.0011 874.945333.9766
Script end 0.0120  908.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002117.1583140.0001
Check MTime0.00097.7526140.0001
Mysql Total
Database connection0.00075.687810.0007
Mysqli_queries0.002419.935930.0008
Looping result0.00000.075210.0000
Template Total0.00097.510.0009
Template load0.00075.662010.0007
Template processing0.00021.775810.0002
Override
Cache load0.00043.719910.0004
General
dbfile0.00097.358680.0001
String conversion0.00000.049540.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