Author Topic

Bruce Morrison

Monday 18 February 2008 11:47:53 pm

Comment49101

Hi Piotrek

Without knowing the details it sounds as if you might be better off with a before_publish workflow.

If that doesn't work for your situation you can try doing a module redirect via the eZModule class:
http://pubsvn.ez.no/doxygen/trunk/html/classeZModule.html#6ddeaa1f5e2cfac8f5b56533c51d53df though that might still use redirects.

You might be able to do something list this:

$module = eZModule::exists( 'content' );
$module->run('action');

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish