Search in group Search
Screencast introducing Rules
I've just recorded an introduction on how to use the awsome Rules module!
It can be seen on NodeOne's blog.
The screencast is a pilot case on doing semi-regular screencasts in English. (We've been doing them in Swedish for a while.) If you think that this is worth watching and would like to have more unprestigious screencasts, please write a comment on our blog.
Cheers!
//Johan Falk, NodeOne, Sweden
Idea: Optimise the evaluation of big rule sets
Here is project idea related to rules (for drupal 7) an interested student could pick up.
Currently rules follows a naive approach for evaluation rules, thus each rule and its conditions are check sequentially as specified. However when rule bases get big it would make much sense to optimize the evaluation of the rules. As something like the RETE algorithm doesn't apply to the module, I think the best thing to do would be reordering the rules in a decision tree, thus each condition is only checked once. A rules are already prepared and cached for evaluation, we could plug into this preprocessing step without hassle.
Read moreCheck null value in form field
Hi,
Just started with this awesome module!
I am trying to create a rule where 'form element fieldname value check' needs to look at the field, and do something only if it is a null value. Entering 'null' in the value text area does not do the job. Leaving it blank is not possible as it is a mandatory field. How do I do this with rules, without hacking the other module that is creating the form?
Thanks
Srini
P.S.
Read moretabular formate
hi friends,
i am trying to make the table in which i can input the data.
but as we see the page it is blank .
i want to create the table formate so that when i open the page it looks like an excel sheet .
It is possible only by html code but how to get it so that i can input the data in that section.
| Table header | Table header |
|---|---|
| Table cell 1 | Table cell 2 |
Using Rules to update a file location
Hi all,
I have a little dilemma that I need some help on. I am building a site that allows anonymous users to upload three files during the account creation process. This is enabled through content profile and uses the filefield to upload the file. The account is then blocked pending review from a manager of the site via Drupals default account creation settings.
Since the user that uploads the file(s) does not yet exist in the system by the time the file(s) are uploaded, the file(s) are created under user 0. I am using the following filefield path settings: profile/[uid]/audio.
Read moreCheck for value in filefield
Is there a way to check if a file or files have been uploaded in a content type? I'm trying to determined if a picture has been uploaded.
I have tried to check if a filefield contains a value, but I am getting an error message that my argument #2 is not an array in the cck content.rules.Inc file.
Any hints? How can I do that with php?
Read moreAdd to Organic Group based on value of taxonomy selected
Hi,
I've been struggling with this for some time, but I can't seem to find the solution.
I am trying to get Rules to check the value(s) selected from a taxonomy and, based on this, assign the node to an Organic Group. As both taxonomy and OG have rules integration, this should be possible.
My rule uses some PHP to check if a taxonomy has been selected. The taxonomy is set to allow multiple selections. The PHP is:
return isset($node->taxonomy[1])
If this returns TRUE, then the node is assigned to a selected Organic Group.
Read moreNotify all the concerned users when a content is updated
Hi everyone!
I just can't find the right rules set up for my situation!
I've got a node type called "client account", with a User reference CCK field and a Node reference CCK field (the latest references a node type called "wine"). What I would like to do is when any fileds from the node type "wine" change, notify all the concerned users by email.
I posted already here http://drupal.org/node/765010 with a similar question with no luck.
Thanks for your help...
Read moreCheck field is null using Truth Value
Hello,
I'm attempting to check whether a CCK field is Null using a Truth Value, the code i'm using is as follows:
[node:field_facebook-formatted]!=""
But everytime it runs it returns TRUE as it performs the action.
Does anybody know how to resolve this.
Many Thanks,
Jonathan
Read moreUsing rules to send an email x days after a user registers
Hi,
Hoping someone can advise. I need a module(s) that can send an email to a new user x number of days after they register to the site.
Essentially, I have been tasked with creating a membership site with different levels of membership from basic to premier. When a user signs up as a basic (normal authenticated) user I need the site to email them automatically (ideally via cron) after a week if they haven't signed up to become a premier member.
I've looked at the newsletter (simplenews) with scheduler, messaging, bulk operations, rules and yet I'm still drawing a blank.
Read more
