Share » Forums » Developer » Workflow removeSubtrees & addLocation

Workflow removeSubtrees & addLocation

Workflow removeSubtrees & addLocation

Friday 21 August 2009 9:03:13 am - 2 replies

Author Message

André R.

Saturday 22 August 2009 4:00:09 am

Have a look in: http://pubsvn.ez.no/nextgen/stable/4.1/kernel/content/ezcontentoperationcollection.php

Especially ::removeAssignment(), you can probably use that as is. (there is a ::addAssignment also).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Dirk Bensel

Tuesday 25 August 2009 8:13:04 am

Got it!
(using ezp 4.0.6)

I changed the TriggerType in the addLoactionEventWorkflow to AfterPublish and build a removeLocationEventWorkflow with TriggerType BeforePublish.

---
ROCK ON
Dirk

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

36 542 Users on board!

Forums menu