This project is read-only.

Proper syntax for multiple rules/actions forms?

Oct 5, 2011 at 9:54 PM

Looking through the code for the Rules settings for the Comments and Scripting modules, I think I can figure out how to add multiple Actions to a single category. But there's nothing in the corresponding *Forms.cs Describe method that I can use to infer how to add an additional Form to handle displaying the input layout for the new Action. What is the generally accepted method to modify Describe to be able to render the new form?

For reference, this question is sparked by Bertrand's blog post on the new Orchard 1.3 features in the Rules settings, where he displays the new Forms API used to create the admin form for emailing new comments to the site owner. I'm trying to find a way to integrate the existing Close Comment action with the example Email Comment action he posted about.