New contrib: Information (workflow event)

Author Message

Łukasz Serwatka

Thursday 08 September 2005 12:20:03 am

This is simple notification. Administrator or other person can receive e-mail after content publish. Useful if you don't have access to cron (notification system needs it), but you still want to control content created in front-end, for example article comments.

http://ez.no/community/contribs/workflow/information_workflow_event

Enjoy!

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Felix Laate

Thursday 08 September 2005 12:55:34 am

Hi Luke!

Very good!

As I'm trying these days to figure out how to make an workflow extension, and the docs on this seems to be limited, it's great to get some real-life examples. So thank you!

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Lex 007

Thursday 08 September 2005 1:44:15 am

Nice and useful extension, I'll test it soon.

@Felix > I have developped a new workflow event too, see here : http://ez.no/community/forum/developer/contrib_personal_folder

Felix Laate

Thursday 08 September 2005 2:44:12 am

@Lex 007

I saw it. Nice one. Thank you as well!

:) Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Xavier Dutoit

Wednesday 21 February 2007 12:44:09 pm

Trying to use it, with a custom template.

I have a custom design

it is in design/custom/templates/ezinformation/ezinformationmail.tpl

but it keeps using extension/ezinformation/design/standard/templates/ezinformation/ezinformationmail.tpl

Is is "normal" or am I missing something obvious ??

http://www.sydesy.com

Kristof Coomans

Wednesday 21 February 2007 11:03:10 pm

Hi Xavier

Explanation of this at: http://lists.ez.no/pipermail/sdk-public/2006-November/002487.html
Bug report: http://issues.ez.no/9595 (patch attached)

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

James Ward

Friday 25 April 2008 2:30:25 pm

Thanks for the simple but highly useful contrib.

Still works with ez3.10.

I'm using this to provide immediate notification of important items to users who already receive a notification digest once a week.

I made some minor modifications to have it pull a class name list from the ini and to make the receiver an array in the ini so you can send to multiple receivers. If anyone has any use for that just let me know.

working at www.wardnet.com
blogging at www.jamesward.ca

Łukasz Serwatka

Sunday 27 April 2008 11:11:21 pm

Hi James,

I'm sure that your changes are useful. I will port this extension to PHP5 and put on projects.ez.no, then you can get access to SVN repository and add your enhancements.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

huynh kim xuyen

Wednesday 05 January 2011 10:31:34 pm

Hi all!

I added Extension Information (workflow event) into my project.

After I did along under guide, have not error but I didn't receive any email. Can't u help me?

1.Put ezinformation extension in to your eZ publish extension directory.
2.Enable extension in Admin interface. Setup->Extensions
3.Create new workflow with Information event. Setup->Workflow
4.Connect/assign your new workflow to a trigger function. Locate "Content - Publish - After" and set the corresponding dropdown box to your workflow name. Setup->Triggers

5.Set ContenClassID[] = MyClassID

Thanks a lot!

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 05:14:22
Script start
Timing: Jan 18 2025 05:14:22
Module start 'layout'
Timing: Jan 18 2025 05:14:22
Module start 'content'
Timing: Jan 18 2025 05:14:23
Module end 'content'
Timing: Jan 18 2025 05:14:23
Script end

Main resources:

Total runtime1.0576 sec
Peak memory usage4,096.0000 KB
Database Queries85

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 591.6797152.6406
Module start 'layout' 0.00620.0049 744.320339.4609
Module start 'content' 0.01111.0451 783.7813810.6250
Module end 'content' 1.05630.0012 1,594.406320.1406
Script end 1.0575  1,614.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.3947160.0003
Check MTime0.00220.2079160.0001
Mysql Total
Database connection0.00090.086310.0009
Mysqli_queries0.962090.9661850.0113
Looping result0.00100.0950830.0000
Template Total1.012095.720.5060
Template load0.00190.180720.0010
Template processing1.010095.506720.5050
Template load and register function0.00010.010210.0001
states
state_id_array0.00690.648410.0069
state_identifier_array0.00080.080020.0004
Override
Cache load0.00180.1698540.0000
Sytem overhead
Fetch class attribute can translate value0.00080.077170.0001
Fetch class attribute name0.00200.1935150.0001
XML
Image XML parsing0.00330.309170.0005
class_abstraction
Instantiating content class attribute0.00000.0026170.0000
General
dbfile0.00240.2255480.0000
String conversion0.00000.001140.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
8content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 32
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs