This project is a greenhouse for Rules functionality – triggers, actions, data types, conditions and more that could be included in the Rules module, but probably should be tested out and voted on first. Feel free to add your own ideas, opinions, examples and feature requests! INSTALLATION ============ The usual. Download, enable. You will need the Rules module. (Surprise!) RULES BONUS: MISCELLANEOUS ========================== Conditions * Check number of results from a view: This condition loads a view and checks the number of results – condition is passed if it is at least as many results as you set. You can pass on arguments to the view. Actions * Load a node list with Views: This action executes a node view, along with any defined arguments, and loads the result as Rules list. This allows executing Rules loops on the results of a view. Yeah. * Load a user list with Views: This works the same way as the previous action, but acts on user views and returns a list of users. * Load a comment list with Views: This works the same way as the previous action, but acts on comment views and returns a list of comments. * Set page title: This action sets the page title. The page title will be used as $title in page.tpl.php. The action uses drupal_set_title to set the current page title * Set the active menu item: This action is A FIRST ATTEMPT at setting the active menu item using Rules. It sets the active menu item in the sense that the menu recognises it and show all children links. Currently it sets active-trail class on the item chosen. Requires the Menu position module. * Clone a node: This action clones a node and resets a few properties (such as nid) before saving it. Useful if you want to clone a node, but make some changes in the copy. * Load the first node in a Views list: This action fetches the first node in a node view (assuming there is at least one row of results). It is similar to loading a node list with Views (see above), but is quicker if you are only interested in getting the first hit. This is useful if you want to perform more complex queries than "fetch entity by property" allows. * Create a date from a number: This action provides a variable of the date type, with the time given in an integer unix timestamp. * Load a path alias: Fetches the alias for a given path and, optionally, a given language. * Merge two strings: Allows merging two strings into a new one. This action is only present because it is currently not possible to get metadata from text variables. :-/ Events * Allow Page manager variants to act as Rule even triggers: This introduces a new setting on your Page manager variants – "Create a Rules event for this variant" (found in the new tab "Reactions"). This makes your variant appear in the list of Rules events, allowing you to execute Rules conditions and conditions when variants are loaded. Not least: You also get the context objects in the variant to work with. Other * All Rules condition components are exposed as CTools access plugins, for example making them accessible in Page manager and Panels. RULES BONUS: THEME ================== Actions * Set head title: This action sets the head title. This is the