Rules Documentation

Events happening in the community are now at Drupal community events on www.drupal.org.
tmwagner's picture

Judging from historical questions and comments regarding "Rules", that never are answered, it appears that documentation for this module is pretty thin. Unless the trigger and action falls into a pretty narrow spectrum, Rules is pretty limited.

First serious limitation: "Events". Where do they come from? Yes, I know they come from other modules. But if I don't see and event specific to the task at hand, how do I create one? For example; it would be nice if I could alert someone about a "star" being given from the Fivestar module. Turns out, someone else thought that would be a good idea and wrote a module that provide an Event for Rules.
Is it really that difficult???

Its almost easier to just write my own module and steer clear of the handicap of Rules...

Other minimum requirements to make Rules a viable;
- What tokens are available? Just the ones listed? And if so, any solution to that?
- Why aren't Drupal Global variables exposed and available?
- Under Execute PHP, what PHP can actually be executed?

For example... why can't a simple global var like $user be evaluated?

<?php
  $string
= "ABC";
   print(
"User is viewing a page");
   print(
"</br>" . $string);
   print(
"</br>" . $user);
   
?>

Am I missing something

Comments

Some documentation

Itangalo's picture

You can find some Rules documentation here: http://drupal.org/node/298476
And some (imho) pretty good screencasts about the module here: http://nodeone.se/blogg/learn-rules-screencast-series-summed-up

//Johan Falk, NodeOne
**
Learn Drupal with Nodeone! Drupal 7 introduction | The Views module | Drupal learning curve | Rules for Drupal 6 | Theming Drupal 6

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: