This project is read-only.

Creating a custom Rules

Topics: General, Writing modules
Oct 8, 2012 at 3:22 PM

I want to create a custom rule in my module, so when one a record is created (its not a ContentPartRecord - it is litteraly just a record) it triggers the rule, I have looked in the CustomForms module for references but to be honest it doesn't really make much sense. Has anyone got any ideas or pointers?



Oct 10, 2012 at 1:23 AM

Then you will have to write your own rule events and trigger those when a specific thing happens in your code. Look at existing events such as ContentEvents in Core/Contents.