Rules development
Has anyone ever worked with Rules before? I'm doing some Commerce and Commerce Recurring Framework work and now I find myself having to code some rules/rulesets. I've never had to configure Rules before, let alone develop my own events and actions.
I'm wondering what this group's experience with Rules is.
Read moreUpdating entity referenced users from rules (code snippet)
Hey all,
Just wanted to share some rules I built as I've been racking my brain all afternoon on how to do this but eventually figured it out using Drupal 7 Rules 2 with a Rules Component. Might be useful to some of you, might not be but here it is anyway!
I have an Event node which contains an Entity Reference to a user. The user has a "credits" field. I needed to remove a credit from the user's account every time they attended an event. So I created a rule that uses a "Before saving content" event and a "Content is of type" condition.
Read moreHow do i access fields created in comment via rules ?
How can i access two field's created in default drupal 7 comment using rules ?
Field one is a user reference field, listing all users.
Field two is a fivestar voting field.
When i try using condition "Entity has field", and in Entity Data Selector i select "comment" it does not work.
Any suggestions ?
Read moreUsing Rules to redirect to OG homepage
Hi, on my D7 sitem every user will be a member of one Organic Group.
How can Rules redirect user to group page on login?
Thanks!
Read moreCan we send email attachments with Drupal 7 rules?
Hello all,
I would like to know if we have the capability in Drupal 7 to have the Rules framework set up a "Send Email" action and include in that email a file field from a custom content type we have in our website.
Read moreD7 Rules, flags, organic groups, VBO
Firstly I have to say I think Organic Groups is brilliant. And with rules, vbo and flags, I would also say they have changed the way I approach buildingall my Drupal 7 websites.
What I want to do is implement something like the D6 RSVP module in D7 using rules, flags, Organic Groups and VBO but I've got stuck
A typical use case is ... a "Group Manager" visits a group content node (say a "Meeting") and I want a view that returns a list of users who belong to the organic group to which the content belongs.
Read moreUse Drupal 7 rules to populate set multivalue user reference field with organic group members
Hi,
Here's what I'm trying to do. Any help would be greatly appreciated!
Upon saving new content, set a user reference field with all of the users that belong to the group content's audience that have the administrator member role.
Use case: We're using organic groups to manage committees. Then, we create evaluation nodes of these committees. Because the committee (group) membership changes, we want to save the group administrators to a user reference field within the evaluation node.
Here's what I'm trying to do with out the check on group member's user role.
Rule
Event:
Adding data value inside a loop
I'm surprised I cant' find this documented anywhere, so I'm hoping someone here can point me in the right direction. I'm trying to set up functionality using OG and Rules where a project manager can close out a group at the end of a project, and as a result new fields would be revealed on the group content and different Views would show on the Group page. I was thinking to do this, I'd want the group content nodes to inherit the "closed" status when the project group is marked closed.
So I created the following rule:
Event:
After updating existing content
Conditions:
Read moreHow to send emails to all referenced users in node. In Drupla 7
Hi All,
Not sure if this is the right place to ask this question. If any buddy knows that How to send emails to all referenced users in node using RULES module. For Drupal 7
Thanks in advance.
Read moreUse Case: If node of certain taxonomy terms exist use as reference, if not create it first
I've searched for the answer to this question before asking here but I'm stumped. I also found a number of people with similar questions but no answers. I also posted this on stack exchange ...
http://drupal.stackexchange.com/questions/19059/rules-help-check-to-see-...
Here is my scenario;
Read more





