Author Topic

Bertrand Dunogier

Thursday 13 January 2011 7:25:36 am

Comment65053

"
"

Then you want to do the 1) before the cache is cleared and search indexing is done, and you want to do 2) before onPublish is called.

"

Correct me if i'm wrong, but can't you setup a content -> before -> publish trigger for that?

"

Thanks for stepping up ;-)

I don't have much time available now, but I'd say that globally, content edit handlers are for code RELATED TO the object being published, while triggers are for when you need to do something BASED on the object being published. But that's my personal view !

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier