Forums / Developer / Create a new Trigger

Create a new Trigger

Author Message

Sandip Sarkar

Friday 12 February 2010 10:44:08 pm

Hello everyone,Can anyone suggest me how to create a new custom trigger where I can fire a trigger when the user registration is to be confirmed?Thanks ..

Bertrand Dunogier

Saturday 13 February 2010 2:03:57 am

You do not need a custom trigger for this.

A user registration is just a content object publishing, so you can use the ezapprove [1] workflow event to have your users validated.

1. http://ez.no/doc/ez_publish/technical_manual/4_x/reference/workflow_events/approve

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

Sandip Sarkar

Sunday 14 February 2010 9:58:33 pm

"

You do not need a custom trigger for this.

A user registration is just a content object publishing, so you can use the ezapprove [1] workflow event to have your users validated.

1. http://ez.no/doc/ez_publish/technical_manual/4_x/reference/workflow_events/approve

"

Thanx Bartrand for your suggestion..But I need to verify the registration process through authorize payment gateway.Only those member will enjoy such facility if payment gateway approve this transaction... Any suggestion ?