Approval set by class

Author Message

Eivind Marienborg

Wednesday 06 April 2005 1:08:16 am

I have set up approval of articles, and this works fine. No articles get published before I approve them.

The problem is that my users are allowed to comment these articles. But because the comments get published in the same section as the articles, I have to approve them too, before they get published.

I've read through the docs and some forums posts, but haven't found anything about this.. What I basically need to do is to approve objects of class Article, but not of class Comment.

Any ideas are greatly appritiated :)

Xavier Dutoit

Friday 08 April 2005 1:00:38 am

Add an event multiplexer on the workflow process. One branch for the comments, the other for the other classes. Should do the trick.

X+

http://www.sydesy.com

Cecilia Contin

Monday 30 May 2005 7:28:48 am

Did you solve the problem? I have the same situation, and i make this workflow: Create an approval event, and then a multiplexer with the class that need to be approved before publish. But it didnt work. When users create content, all classes use this workflow.
Please, help me if you can.

Eivind Marienborg

Wednesday 27 July 2005 1:05:43 am

A late reply, but perhaps it can still be of use to others..

If I understand you correctly: You have to add the multiplexer before the approval workflow. In the multiplexer you specify the approval workflow as the one to run for your articles.

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 30 2025 22:28:32
Script start
Timing: Jan 30 2025 22:28:32
Module start 'layout'
Timing: Jan 30 2025 22:28:32
Module start 'content'
Timing: Jan 30 2025 22:28:32
Module end 'content'
Timing: Jan 30 2025 22:28:32
Script end

Main resources:

Total runtime0.0218 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.0038 588.1094151.1953
Module start 'layout' 0.00380.0033 739.3047220.6563
Module start 'content' 0.00720.0131 959.9609997.7734
Module end 'content' 0.02020.0015 1,957.734433.9922
Script end 0.0217  1,991.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002511.6614140.0002
Check MTime0.00114.9103140.0001
Mysql Total
Database connection0.00052.260210.0005
Mysqli_queries0.00188.475930.0006
Looping result0.00000.040510.0000
Template Total0.00115.010.0011
Template load0.00093.986110.0009
Template processing0.00020.996510.0002
Override
Cache load0.00073.003810.0007
General
dbfile0.00115.131580.0001
String conversion0.00000.027440.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