How to make Editor to create and only send to pending but not publish

Author Message

Rakotomandimby Mihamina

Monday 29 November 2010 11:12:31 am

Hi all,

The "Editor" role fits 99% of my needs, except it allows to "send for publication".

I would like this role not to be able to "send for publication" but to "send it for submission" and it's the moderator role to review, approve and publish it. "submission" if the fact to put the content in a pending for publication list.

I guess it's one of the content module functions, so: What functions of the "content" module should be enabled & disabled for the "Editor" to just be able to "submit"?

Of course, I will copy the Editor role and edit the copy of the role ;-)

Daisy Radix

Monday 29 November 2010 1:15:08 pm

why don't you use workflows?

Its seems to be the right solution.

Daisy 

eZ Publish certified developper :http://auth.ez.no/certification/verify/378142

Heath

Monday 29 November 2010 11:08:31 pm

Hello,

I suggest using eZApprove2 which provides for the features you describe.

Cheers,

Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Gaetano Giunta

Tuesday 30 November 2010 1:59:31 am

I agree with Daisy here: if your needs are so simple, a content approval workflow is all you need.

This means that editors will always push on the "publish" button, but the content they create will need to be approved by moderators before it appears on the site.

All you need is to create a new workflow, add to it an "approval" event, and assign the workflow to the "before content publication" trigger. All of this is done in the administration interface. Once it is done, just make sure you have set up a cronjob running the 'frequent' set of eZPublish tasks

Principal Consultant International Business
Member of the Community Project Board

Rakotomandimby Mihamina

Tuesday 30 November 2010 6:44:17 am

"

All you need is to create a new workflow, add to it an "approval" event, and assign the workflow to the "before content publication" trigger. All of this is done in the administration interface. Once it is done, just make sure you have set up a cronjob running the 'frequent' set of eZPublish tasks

"

What I did, according to your indications:

In "workflows", there are "Workflow groups": "Standard" (no more).

I guess "Standard", by its name is the default Workflow, and it's empty anyway.

Should I add a new workflow process in the "Standard" group?

Would you know a tutorial for this? (I am running 4.3)

Daisy Radix

Tuesday 30 November 2010 7:49:22 am

Do you speak french? If so you can check this documentation http://luxpopuli.fr/eZ-Publish/Configuration/Workflow-moderer-les-commentaires

eZ Publish certified developper :http://auth.ez.no/certification/verify/378142

Gaetano Giunta

Tuesday 30 November 2010 9:14:29 am

Yes, you should add a new workflow in the 'standard' group

Principal Consultant International Business
Member of the Community Project Board

Rakotomandimby Mihamina

Tuesday 30 November 2010 9:30:21 am

"

Do you speak french? If so you can check this documentation http://luxpopuli.fr/eZ-Publish/Configuration/Workflow-moderer-les-commentaires

"

Dhaval Panchal

Tuesday 25 January 2011 10:30:42 pm

I need it in English Version.!

Can any one provide Link?

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 02:08:00
Script start
Timing: Jan 18 2025 02:08:00
Module start 'layout'
Timing: Jan 18 2025 02:08:00
Module start 'content'
Timing: Jan 18 2025 02:08:01
Module end 'content'
Timing: Jan 18 2025 02:08:01
Script end

Main resources:

Total runtime1.0388 sec
Peak memory usage4,096.0000 KB
Database Queries83

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.3906152.6875
Module start 'layout' 0.00560.0020 741.078139.5313
Module start 'content' 0.00761.0298 780.6094739.6641
Module end 'content' 1.03740.0014 1,520.273424.0781
Script end 1.0388  1,544.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3029160.0002
Check MTime0.00140.1316160.0001
Mysql Total
Database connection0.00130.126410.0013
Mysqli_queries0.936390.1349830.0113
Looping result0.00260.2524810.0000
Template Total0.995595.820.4977
Template load0.00220.214820.0011
Template processing0.993295.610820.4966
Template load and register function0.00020.014610.0002
states
state_id_array0.00220.207210.0022
state_identifier_array0.00360.350320.0018
Override
Cache load0.00200.1959510.0000
Sytem overhead
Fetch class attribute can translate value0.00080.075850.0002
Fetch class attribute name0.00130.1215140.0001
XML
Image XML parsing0.00500.477550.0010
class_abstraction
Instantiating content class attribute0.00000.0032180.0000
General
dbfile0.00350.3394410.0001
String conversion0.00000.000540.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
9content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
2content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
2content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 36
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs