eZ Community » Forums » Install & configuration » ezcomments and approval
expandshrink

ezcomments and approval

ezcomments and approval

Friday 10 December 2010 11:22:26 pm - 5 replies

Hi,

Is there a way to approve befor publishing the comments provided by the extension ezcomments ?

Pascal

Saturday 11 December 2010 9:43:26 am

You can add an workflow event on your class which use ezcomments only for content modification and users who can comment. It's should work.

Saturday 11 December 2010 10:07:49 pm

Thanks for your reply Daisy,

But this does not work for me.

Did you successfuly try your solution ?

Sunday 12 December 2010 10:57:29 am

Hello,

Yes i tried and it works.

I created 2 workflows :

1 / Workflow event approve "Add Comment"

  • Affected sections : all
  • Affected languages: all
  • Affected versions: all
  • Groups who approve content: Administrator Users

2 / Workflow event multplexer on the Comment classe :

  • Affected sections : all
  • Affected languages: all
  • Classes to run workflow: Comment
  • Affected versions: all
  • Users without workflow IDs: Administrator Users
  • Workflow to run: "Add Comment"

Then go into Triggers menu and select workflow multiplexer on content publish before

Modified on Sunday 12 December 2010 11:00:34 am by Daisy Radix Leroy

Friday 07 January 2011 11:44:42 am

@Daisy, I'm not sure how it worked. Adding a comment will not republish the object so it shouldn't trigger that workflow.

@Pascal, AFAIK that's not possible for now. Because eZComments is using a different content model from ezpublish object model. Comment in ezcomments is not a object, so the workflow trigger can not be applied here.

For future, basically there should be a possibility to achieve this by some eZComments enhancements for workflow.

Friday 07 January 2011 12:22:03 pm

Hello,

I'm sorry, I made a mistake...

I was thinking about comments class instead of comments datatype happy.gif Emoticon

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from