Share » Forums » Developer » [SOLVED]execute workflow after...

[SOLVED]execute workflow after header("Location")

[SOLVED]execute workflow after header("Location")

Monday 26 February 2007 10:08:56 am - 2 replies

Modified on Wednesday 28 February 2007 7:20:05 am by Andreas Adelsberger

Author Message

Andreas Adelsberger

Wednesday 28 February 2007 7:18:47 am

the solution is to use

    $http =& eZHTTPTool::instance();
$http->redirect($myUrl);
.
-
.
.
//more code that gets executed
 

the code after the $http->redirect() gets executed and the redirect also works...and my workflows after the redirect also work.

when I have time i will publish the firstgate/clickandbuy extension to the community contributions.

thanx guys....ez rocks!

---------------------------------------
Styleflasher New Media OG
Websites. Games/Multimedia.

H-Works Agency

Monday 12 November 2007 5:58:17 am

Hello,

Do you have published this clickandbuy extension ?

This would be very interesting for me.

Thanx in advance. Martin

EZP is Great

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

36 542 Users on board!

Forums menu