Search in group Search
Appending field content to another field
In the Simplenews Content Selection issue queue I found this rules recipe (http://drupal.org/node/1080346#comment-5390326):
Read more
- Create a Rule component that takes a list of entities as a parameter. In the configuration of this Rule, add Actions to (1) create a new entity of type Newsletter, and (2) append the body (or whatever fields) from the list of entities to the body of the newsletter, then save the newsletter.
- Create a VBO to list recent content on the site, restrict access to this by whatever editorial role is applicable.
Setting node title on a new entity using a term from VBO node list
Hi all.
I´m not sure I should be asking for support in this group since it´s not mentioned in the posting rules of this group. Please slap me on the wrist if not :-)
In short, I´m loading a "List of node items" for a Rules Set using VBO.
Every row has a term (usually the same term) and I want to use one term from the list and pass it to the title of a new entity (doesn´t matter which term since I´m using it as a suggestion).
After checking the content type with Data Comparison I create a new entity.
Read moreCustomized Email Message on Action
Hi,
I'm new to the Drupal backend and I'm using 6.0 for the office. I've created a rule to update someone via Email when a certain content type has been updated. The next part I cannot figure out. What I need to do is let the person know what has been updated in the content type. I cannot figure out how to implement this part in the rule.
Any help would be greatly appreciated.
Thanks!
Pxl
Read moreRules message after action
I created some rules based on actions on the site.
For example a user will receive a point for voting on a post or comment. When they vote, the rule is triggered and they get a point.
This works great.
The thing is that they do not see a message from "Rules" right away because the voting is done by AJAX and the page does not refresh.
They will only see the message if they refresh the page or visit another page in the site, after voting.
Notes from BoF on Rules UI
There was a great BoF about improving the UI for Rules, here at DrupalCon Denver.
Attached is a sketch describing ideas of how to improve the use of tags for grouping rules.

Updating 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 to make a rule check for empty body field
Didn't have much luck turning this info up in my searches.
Our main site publishes nodes automatically using Scheduler and, sometimes, an empty post gets scheduled and overlooked... and posts still empty.
I'd to use Rules to check for empty body when a node is resaved, then do something based on that.
(The do something part is not a big deal. Several options would be suitable).
I just can't seem to find a condition that checks the body for zero text.
Read moreAdding items to node / user references with Rules?
Is it possible with Rules to add items to a node or user reference?
For example, I have a Project node with a user reference field called Members - many users can belong to this single Project. If I want to add another Member based on some event, can I do it with Rules?
I've tried 'set a value', add item to list' actions, but I can't seem to access my user reference field. I'm already able to find the node I need, I just don't know how to add the new user to the user reference field.
Read moreApply tax programatically
Hello.
I'm trying to apply a tax for a custom conditions because rules doesn't match my needs.
Could you help me on this http://drupal.org/node/1499224 please.
Thank you.
Read moreTrigger action on User email change
I have tried to create a Rule that is triggered when a User changes its email address. In particular I tried the following:
Event: After updating an existing user account
Condition: NOT Data Comparison
Condition parameters: Data to compare: [account-unchanged:mail], Data value: [account:mail]
Someone can help?
Best,
Emanuele


