The Rules module is a module that allows site administrators to define actions that are conditionally executed, either programmatically or in response to predetermined events.

learn more… | top users | synonyms

0
votes
2answers
18 views

Grant user points to all users

I have dev and prod versions of my D7 site. On dev I developed some functionality based on User Points module and plan to roll out it on prod. But it requires some initial number of user points for ...
0
votes
0answers
19 views

Use Rule to Retain Previous Data?

PLEASE REFER TO SCREEN CAPTURE 1) The URL on this page is: cms-deliverable-table/Texas%20Playschool%20Marketplace/TX-PSM-1928/289 2) The Add a Deliverable link leverages the NID from the URL ...
0
votes
1answer
8 views

Creating followups to Commerce Orders for each Line Item

I had asked a question in another thread, and thought it might be helpful to create its own thread just in case it could be helpful to any other developers out there: "I am trying to create a rule ...
0
votes
1answer
23 views

How to apply an image style based on a condition?

I've been following this discussion: How to apply an image style based on a condition (a date for ex.)? but unfortunately it has not been a success. I would like to have the image to change based on ...
0
votes
0answers
21 views

Email summary of updates performed that month

I wish to email the site owner a summary of any module or core updates performed on a monthly basis. I believe that there is a module to do this in Wordpress. Is there a Drupal module that can ...
0
votes
1answer
19 views

how to calculate a value by rules

I have three fields in a content type and want to calulate sum of them in another field. First, I use Computed Field but it does not work at all. Then I tried to use conditional field but it is not ...
0
votes
1answer
12 views

Drupal Rule to deselect radio button item?

In Rules, I don't see any option to deselect radio button items. In my rule, I want an action to deselect Request Resubmission.
0
votes
0answers
11 views

Hide some content types while ceating content without content access module

I am using Node access module and Workbench Suite to create editorial workflow for my site. When user (role with - editor/approver/other editor) clicks on 'Create Content'- they can only see some ...
0
votes
1answer
19 views

Rules setup for Drupal Commerce [on hold]

I need to setup a rule on the drupal commerce with the following condition. If Authenticated user added an item in cart and they didn't do the checkout for 24 hours, the site needs to shoot an email ...
0
votes
1answer
54 views

Drupal Commerce: Allow anonymous users to choose their username on checkout

The default setup includes a single option in the "Account Information" pane which allows for an email address. The user's username is then derived from that. I would like to add another field for ...
1
vote
3answers
21 views

Ubercart- Assign new role on expiry

I am granting users specific a role on purchase of some product( using ubercart). In doing so I have added a rule to take away their initial role(so that they do not have 2 roles and confuse the ...
0
votes
2answers
21 views

Color code field in View?

Use case: When the Status is Overdue, the word overdue should display in red, and if it's Accepted, it should display as green. I was hoping to use Rules to set this up, but don't see options to get ...
0
votes
0answers
45 views

Trigger Rule with Filefield 'when field has changed'

This problem has been giving me a headache for four days now, so I thought it'd be best to see if somebody knows of a better answer than me :) I've got a set of different rules that check if various ...
0
votes
2answers
20 views

Different user registration

small question I've created a content type 'Player' with the necessary fields. With the 'Inline Entity Form' module i've added this tot the default user registration form. Now when a user register, ...
0
votes
1answer
12 views

Private website with Rules - Inherit custom fields

I want to create a website where all the content is only visible to logged in users. (I don't want to solve it by using other access modules or by configuring the permissions of the roles, for ...
0
votes
1answer
21 views

How to remove markups of 'div' and 'span' from the billing info displayed through token

I am trying to add token for billing information in order confirmation email . The token does its job but also displays markups of 'div' and 'span'. Whats surprises me is all the other tokens in the ...
0
votes
0answers
10 views

using rules module : how i can adding page with the name of text field form when i click in the button

I want to automatically create a page had like name the one that I put in the fields: title of the node, here is the image: the steps that I want: 1 . enter a name of the node (example: Name of ...
0
votes
1answer
17 views

Using Rules to create an Entity Reference if two fields in different entities match?

I'm attempting to use a "registration code" entered during a user's registration to create an entity reference to a node with a corresponding code. Any help is greatly appreciated. Specific use ...
0
votes
1answer
37 views

I want my users to login through 'Last Name', rather than 'Password'

I would like my users to log in through 'Email' and 'Last Name', rather than 'User Name' and 'Password'. I did manage to swap 'User Name' with 'Email', but I cannot replace 'Password' with the user's ...
0
votes
1answer
16 views

Drupal Rule to Clear a Field But Still Retain Data?

Need advice on fufilling this use case: Use Case: When User edits the node the first time, he populates Field A, a text area. The data from Field A is eventually displayed on View A. When User or ...
0
votes
0answers
15 views

Automatically creating User folders after registration

I need to prepare a simple platform for uploading files for clients. The procedure is simple: user fills registration form and confirms e-mail address, Drupal automatically creates a folder in ...
1
vote
1answer
32 views

How to embed a Rules Link in a View in order to trigger a Rules link to run?

What is the general process to embed a Rules Link in a View in order to trigger a Rules link to run? I have used the Rules Link module to create a Rules Link embedded in a View (it's a View that ...
0
votes
0answers
33 views

Unpublish node created upon checkout

Looking to tie a recurring product to the published status of the node it created. I've tried this by creating a node on checkout in a number of ways, but my most recent and promising attempt ...
0
votes
1answer
113 views

export views data to text file in the background

I am using views data export module to generate a text file and that works perfectly. but instead of asking me to save it to my local computer. What I want to do is save it directly on the server, I ...
0
votes
1answer
11 views

File/function that is executed when I open node from view [duplicate]

I have created view for displaying the nodes. I want to know which function/file is executed when I click on the node listed in the view table. I want to add some code to the file when the node ...
0
votes
0answers
4 views

Workflow RULES - One rule for multiple nodes

I would like to create a rule that updates a field (to Yes or No) in two different content types A and B. In my current rule, when all the fields on content type B are filled up, status field of B is ...
0
votes
1answer
23 views

entityform email multilingual

I am using drupal 7 and entityform module and also using this : https://www.drupal.org/node/1679794 instruction to sending email after submitting form. the only problem I have is I want my email body ...
2
votes
3answers
56 views

Change logged-in user permission in hook_node_view

Can anyone please let me know how can we achieve the following scenario I want to change the role of the logged-in user before viewing the node. When you click on the node for viewing it, I want the ...
0
votes
0answers
6 views

delete certain redirect using rules

Can anybody suggest an idea how to delete redirect using rules? I have found a rules patch that allows editing redirects. https://www.drupal.org/node/1653542 but not deleting it. Usercase: When ...
0
votes
0answers
11 views

Rules - Coupon data selector not available for entity has field

I am trying to check whether an order has a coupon with a certain field. I am unable to find the data selector of 'Coupon' when using the condition 'entity has field'. This only appears in the past ...
0
votes
0answers
11 views

Invoking a Rules event “After removing a product from the cart”

I need to invoke this event from a custom module. I'm not sure how to use the following function as this is not working.. <?php rules_invoke_event('commerce_cart_product_remove'); ?>
0
votes
0answers
9 views

Get notification when receiving translation from GlobalLink through Rules Module

I have configured Rules and GlobalLink Modules. Now my concern is that I would like to get notification when translated content receive from GlobalLink module through Rules Module. So how can I go ...
0
votes
1answer
23 views

Send list of nodes with Rules module if field has value

i try to send a list of nodes with certain value in a specific field via rules module. This is what i have so far: Event: "After updating existing content of type MyContentType" Conditions: ...
0
votes
1answer
13 views

How to flag or unflag an entity with multiple flags at once?

I have a large number of user Flags created. When a user performs certain actions on the website a Rule is triggered Flagging them (based on the action) which in turn provides that user with ...
0
votes
2answers
29 views

Redirect after login for specific role on specific day using Rule

I want to create a rule for specific user to redirect to his profile page on specific day like Monday and Thursday. For this, I used the Rules module, together with the Rules Once per Day module. If ...
2
votes
2answers
24 views

Using Rules, how can I update a related node when I update the other one

Node type A is related to many node type B's. I know how to make the relationship with an sql query. How can I use Rules to make Node A update (so that its computed fields are recalculated), ...
0
votes
0answers
15 views

Rules data comparison evaluating incorrectly

This should be easy, but I can't figure out what is going wrong. I have created a field on the user account called "user profile type." It has two options: "General user" and "Grant Network user." I ...
1
vote
1answer
9 views

Using rules, how do I assign an action to a vbo list item based on its position in the list?

I'm using rules and conditional rules. I have an action set that is using a vbo list (4 node titles sorted by post date desc) to flag nodes on the list. This works fine. However, I need to make the ...
0
votes
0answers
15 views

Add download file feature to ubercart products using rules

I am using drupal 7 and ubercart along with ubercart file download module. Is there any way to add download file feature to ubercart products using rules, based on some attribute conditions I have to ...
0
votes
0answers
21 views

Different price for role

My question is similar to others, but not exactly the same. All the other answers have a specific discount (%) amount for Members, but my client needs to be able to set a totally different, specific ...
0
votes
1answer
31 views

How to change Site Wide email address and get it to work in rules

I want to change my site-wide email address. To to do this, I went to: admin/config/system/site-information However, when I send an email from Rules, it still uses the old email address. How can ...
0
votes
0answers
30 views

Rules: How to check one field against same field on all other nodes of that contenttype?

Using rules i like to check some fields on their value. My usecase: I have contenttype 'A'which has a custom field called 'address' All of my nodes of contenttype 'A' are imported through feeds. I ...
0
votes
0answers
12 views

Email Users Daily with Content Containing Terms Also in User Profile

Users on my site add their "interests" via an autocomplete term reference field on a Profile2 form (adding to the "Interests" vocabulary). I would like to send the users a daily email of content ...
0
votes
0answers
8 views

Commerce Node Checkout set node to sticky or front page

I recently converted from MoneyScripts Pay-to-Publish to Drupal Commerce and am looking to re-create some of the functionality. I would like to have a Commerce Node Checkout plan that sets nodes to ...
0
votes
1answer
27 views

Dynamically populate one select based on another

I'm new to Drupal and well aware this question has been asked before, but I couldn't find a situation similar to mine, or maybe I didn't understand it. I have three content types: Team with fields ...
4
votes
5answers
197 views

Publish nodes 3 times a day

I have a Views list of unpublished nodes. I would like a task to be run 3 times a day (at specified times). Every time the task is run, only one of the nodes on the list should be published. How can I ...
1
vote
1answer
19 views

How can I modify a user's last access date using Rules?

Goal I want to make a Rule that automatically changes the user account last-access date to "now" for certain users. Use case I have a view that displays users by last access date, but I need some ...
0
votes
1answer
22 views

Receiving two subscriptions emails when run cron using rules

I need to send subscriptions immediately to users upon updating content. It is sending one subscriptions email when I run cron manually. But, when I run cron using rules, it send two subscriptions ...
0
votes
0answers
9 views

Pull Entityform data into Rules

I am trying to create a rule that before a node is saved (by content type Review) it will check to see if that node has any entityform submissions from that user. Basically, in order for a user to ...
2
votes
2answers
24 views

How to unpublish content when form submitted and notify a user by eMail?

In my Drupal 7 site I have content type Job. Recruiters post information about open positions. Registered users can apply for any position by flagging node using the Flag module. I have built custom ...