Update @ 2012-10-25: Please make sure you have the PHP filter module enabled. Thanks Beneto.
The Rules module is must have module for developers who needs to deal with some workflow features. Basically each rule contains 3 parts.
- Event
- Condition
- Action
By default the Rules module already provides some basic events, conditions and actions. But some times we may want to create custom components. For me, the most critical part is create a custom event which i would like to show in this post. For the other two, it is less important because the default components already include Execute custom PHP code. That means even without custom module, i could still do whatever i want in Condition and Action.
Continue reading Drupal 7 – Create your own Rules event