Forums / Developer / New contrib: Information (workflow event)

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!

eZ debug

Timing: Jan 18 2025 03:10:00
Script start
Timing: Jan 18 2025 03:10:00
Module start 'content'
Timing: Jan 18 2025 03:10:00
Module end 'content'
Timing: Jan 18 2025 03:10:00
Script end

Main resources:

Total runtime0.1727 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.9297180.8281
Module start 'content' 0.00640.0054 769.7578105.9141
Module end 'content' 0.01180.1608 875.6719534.1250
Script end 0.1726  1,409.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00362.0847200.0002
Check MTime0.00150.8513200.0001
Mysql Total
Database connection0.00090.523510.0009
Mysqli_queries0.121670.44441410.0009
Looping result0.00171.00541390.0000
Template Total0.160492.910.1604
Template load0.00080.474310.0008
Template processing0.159692.419510.1596
Override
Cache load0.00050.308610.0005
Sytem overhead
Fetch class attribute can translate value0.00100.576910.0010
XML
Image XML parsing0.00040.234610.0004
General
dbfile0.00372.1223200.0002
String conversion0.00000.002830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

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

Time used to render debug report: 0.0002 secs