approval system

Author Message

Negin Javadi

Friday 03 December 2004 10:51:17 pm

hi
I think the admin of site must be notified about some of the events and after his approval this content could be published,for example if somebudy enters a comment for a blog post or enters somthing in the guest book it shouldn't be publish in the site unless the admin allows.or for example when someone who has permission for creation of a content, creats it an email should be sent to the admin to notify him about the new content and after his approval this content could be seen by users of site,is there any system that supports this?

n_j1981[at]yahoo[dot]com

Lazaro Ferreira

Saturday 04 December 2004 12:50:29 am

Hi,

This is supported by ezpublish without programming, from the admin siteaccess

1) Create a workflow of approval type
2 ) Goes to notification and turn on to admin user receive notifications from approval event
3) Run runcronjobs script (this should be run two times , first to notify the admin after new content creation, second to publish the new content after admin user approval ), so to do it properly you should add it to the OS cronjob

Lazaro
http://www.mzbusiness.com

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 31 2025 01:31:51
Script start
Timing: Jan 31 2025 01:31:51
Module start 'layout'
Timing: Jan 31 2025 01:31:51
Module start 'content'
Timing: Jan 31 2025 01:31:51
Module end 'content'
Timing: Jan 31 2025 01:31:51
Script end

Main resources:

Total runtime0.0287 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.0000151.1953
Module start 'layout' 0.00590.0078 739.1953220.6406
Module start 'content' 0.01370.0133 959.8359997.6172
Module end 'content' 0.02710.0016 1,957.453129.9922
Script end 0.0287  1,987.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002910.1615140.0002
Check MTime0.00113.9526140.0001
Mysql Total
Database connection0.00072.452310.0007
Mysqli_queries0.006322.035130.0021
Looping result0.00000.091410.0000
Template Total0.00113.910.0011
Template load0.00093.094510.0009
Template processing0.00020.833210.0002
Override
Cache load0.00062.202310.0006
General
dbfile0.00113.916180.0001
String conversion0.00000.037440.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