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: Feb 16 2025 11:49:43
Script start
Timing: Feb 16 2025 11:49:43
Module start 'layout'
Timing: Feb 16 2025 11:49:43
Module start 'content'
Timing: Feb 16 2025 11:49:43
Module end 'content'
Timing: Feb 16 2025 11:49:43
Script end

Main resources:

Total runtime0.0178 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.0060 590.5859151.1875
Module start 'layout' 0.00600.0032 741.773436.6016
Module start 'content' 0.00930.0072 778.375089.9688
Module end 'content' 0.01640.0014 868.343829.9922
Script end 0.0178  898.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003117.1615140.0002
Check MTime0.00169.2350140.0001
Mysql Total
Database connection0.00137.231410.0013
Mysqli_queries0.002815.748630.0009
Looping result0.00000.050810.0000
Template Total0.00116.010.0011
Template load0.00084.693010.0008
Template processing0.00021.267210.0002
Override
Cache load0.00063.459310.0006
General
dbfile0.002413.175580.0003
String conversion0.00000.041440.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