Forums / Setup & design / How to make Editor to create and only send to pending but not publish

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?

eZ debug

Timing: Jan 18 2025 00:01:09
Script start
Timing: Jan 18 2025 00:01:09
Module start 'content'
Timing: Jan 18 2025 00:01:10
Module end 'content'
Timing: Jan 18 2025 00:01:10
Script end

Main resources:

Total runtime1.0547 sec
Peak memory usage4,096.0000 KB
Database Queries220

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0117 589.1953180.8047
Module start 'content' 0.01170.8854 770.0000744.7891
Module end 'content' 0.89710.1575 1,514.7891344.4141
Script end 1.0546  1,859.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.3913210.0002
Check MTime0.00160.1486210.0001
Mysql Total
Database connection0.00240.229810.0024
Mysqli_queries0.949890.05362200.0043
Looping result0.00330.31042180.0000
Template Total1.017896.520.5089
Template load0.00210.201220.0011
Template processing1.015796.304420.5079
Template load and register function0.00010.010710.0001
states
state_id_array0.00150.140510.0015
state_identifier_array0.00140.128420.0007
Override
Cache load0.00200.1858510.0000
Sytem overhead
Fetch class attribute can translate value0.00310.296360.0005
Fetch class attribute name0.00350.3280140.0002
XML
Image XML parsing0.00300.281360.0005
class_abstraction
Instantiating content class attribute0.00000.0035180.0000
General
dbfile0.00230.2141520.0000
String conversion0.00000.000730.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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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