This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Extensions » Extension to post request on content...

Extension to post request on content publish

Extension to post request on content publish

Tuesday 15 May 2012 12:18:37 pm - 2 replies


I'm symfony developer and I have zero knowledge about eZ Publish as for today.

I'd like to ask is it possible to write an extension that would hook up to the event of making new content published (assuming eZ Publish has events or something similar).
Or maybe there is such an extension, which I could use as an example?

The point is: I want to write a plugin to post new content from eZ Publish to my symfony-based CMS via REST API.

I'd be glad to hear from You, eZ Publish developers

Tuesday 15 May 2012 4:16:42 pm

Hi Jarek,

yes, it is possible happy.gif Emoticon The feature in eZ Publish is called workflow, and you can develop your own workflow events which will fire whenever predefined actions in eZ Publish occur. One of the actions is what you need: "after publish".

There is a nice tutorial, along with an example extension, that explains in detail how to develop custom workflow events. You can find it at

If you're stuck, don't hesitate to ask, we're here to help happy.gif Emoticon

Wednesday 16 May 2012 1:06:54 pm

If you want to make a call to a REST api of an external service, I recommend to use the ggwebservices extension to take care of the http plumbing:

Another extension which has already both some workflow events and uses ggws for REST support is ezcontestaging:

It is probably a bit more complex than what you need, but you can still take some clues from it

PS: does the export fo content have to be live or batched?

Modified on Wednesday 16 May 2012 1:07:46 pm by Gaetano Giunta


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

36 542 Users on board!

Forums menu

Proudly Developed with from