Forums / General / Send email to editor when then content are reject/approve by administrator

Send email to editor when then content are reject/approve by administrator

Author Message

Fabien GALLARD

Tuesday 29 March 2011 5:43:30 am

Hello,

I wonder if it is possible to receive an email when an administrator approves or rejects an article. This email will be receive by an editor

(i already setup workflow process on ezpublish 4.4, it works)

Thanks,

Fabien

Carlos Revillo

Wednesday 30 March 2011 12:45:23 am

This is a feature asked sometimes in the past. also commented in some share.ez.no forums like.

Also commented http://share.ez.no/forums/general/sending-emails-on-approval-rejection for instance.

I'm working on that for our projects, and i started an extension to allow that. basically it works just like the provided feature, but it addd the posibility to send mails when a collab item is commented, approved or rejected.

work is in progress though, but the main part of the code is finished. i need to update readme file, add some templates and add proper doc to the files.

but you can try http://github.com/crevillo/ezapprovetanta :)

Cheers.

Andy Woods

Tuesday 24 May 2011 6:30:47 am

Hi Carlos,

Is your ezapprovetanta extension ok to be used now?

Andy

Carlos Revillo

Tuesday 24 May 2011 6:48:45 am

"

Hi Carlos,

Is your ezapprovetanta extension ok to be used now?

Andy

"

Hi Andy. 

I would say it's 85% complete. This include 

  • Approvers and creator receiving mails when content is created
  • Approvers and creator receiving mails when content is approved/rejected
  • Approvers and creator receiving mails when a comment is added to the collab item

Maybe you may need to take a look to the emails templates, cause they probably contain not very correct english sentences... and probably spanish words too. i haven't found the time to finish all this yet. 

But you can give it a try and share your experiences. any comment would be appreciated. 

Cheers!. 

eZ debug

Timing: Jan 18 2025 00:07:08
Script start
Timing: Jan 18 2025 00:07:08
Module start 'content'
Timing: Jan 18 2025 00:07:09
Module end 'content'
Timing: Jan 18 2025 00:07:09
Script end

Main resources:

Total runtime1.5147 sec
Peak memory usage4,096.0000 KB
Database Queries202

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0113 589.6875180.7969
Module start 'content' 0.01131.3849 770.4844525.4609
Module end 'content' 1.39630.1183 1,295.9453334.0703
Script end 1.5146  1,630.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.2940210.0002
Check MTime0.00170.1125210.0001
Mysql Total
Database connection0.00100.062910.0010
Mysqli_queries1.443995.32722020.0071
Looping result0.00200.12882000.0000
Template Total1.474497.320.7372
Template load0.00220.146220.0011
Template processing1.472297.194620.7361
Template load and register function0.00030.020910.0003
states
state_id_array0.00140.092110.0014
state_identifier_array0.00190.124020.0009
Override
Cache load0.00160.1072360.0000
Sytem overhead
Fetch class attribute can translate value0.00110.074140.0003
Fetch class attribute name0.00150.096540.0004
XML
Image XML parsing0.00060.039640.0001
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00240.1609210.0001
String conversion0.00000.000630.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 8

Time used to render debug report: 0.0002 secs