Authorisation before Publishing

Author Message

diederik de tuinman

Tuesday 23 March 2004 5:14:05 am

Hello,

For a news site i want people to create their article, but not being able to publish it right away. I want the articles first being authorized before publishing.

I already tried to assign different roles but there seems no such thing as dividing the creation and the publishing of an article.Is this possible?

Kind regards,

Diederik

Amina Bacar

Tuesday 23 March 2004 5:32:31 am

Hi,

Did you tried workflows?
You can use Approve event for that.

Amina.

diederik de tuinman

Wednesday 24 March 2004 4:29:54 am

Thanks for your input. I tried the approval event and when a content editor creates an article it's not immediately published. But the next problem occurs as I cannot find the article back anywhere. There is no message or what so ever.

Diederik

Balazs Halasy

Wednesday 24 March 2004 4:36:42 am

Hello,

Setting up an approval event/mechanism is explained in the "Building an eZ publish site" tutorial:

http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_guestbook/implementing_an_approval_mechanism

Hint: remember that you probably have to run the cronjobs script in order to get the node from the original author to the approver, and finally to its published state. This script must either be run manually or by making use of a scheduler mechanism (such as the cron daemon on *NIX systems).

Balazs

diederik de tuinman

Wednesday 24 March 2004 5:14:55 am

Up and running

thanks..

Diederik

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 15:58:49
Script start
Timing: Jan 18 2025 15:58:49
Module start 'layout'
Timing: Jan 18 2025 15:58:49
Module start 'content'
Timing: Jan 18 2025 15:58:50
Module end 'content'
Timing: Jan 18 2025 15:58:50
Script end

Main resources:

Total runtime0.7151 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 587.9063152.6250
Module start 'layout' 0.00530.0028 740.531339.4453
Module start 'content' 0.00810.7050 779.9766554.0391
Module end 'content' 0.71300.0020 1,334.015612.1641
Script end 0.7150  1,346.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4496160.0002
Check MTime0.00130.1758160.0001
Mysql Total
Database connection0.00080.112610.0008
Mysqli_queries0.660492.3570650.0102
Looping result0.00080.1130630.0000
Template Total0.678194.820.3391
Template load0.00190.263820.0009
Template processing0.676294.568220.3381
Template load and register function0.00020.023510.0002
states
state_id_array0.00110.149110.0011
state_identifier_array0.00310.428320.0015
Override
Cache load0.00160.2206270.0001
Sytem overhead
Fetch class attribute can translate value0.00070.093730.0002
Fetch class attribute name0.00170.231760.0003
XML
Image XML parsing0.00070.091530.0002
class_abstraction
Instantiating content class attribute0.00000.002060.0000
General
dbfile0.00170.2446160.0001
String conversion0.00000.001640.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs