Questions tagged [drupal-rules]

The Rules module is a Drupal module that allows site administrators to define actions that are conditionally executed, either programmatically or in response to predetermined events. Don't confuse this tag with drupal-roles.

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

Resources

125 questions
0
votes
1 answer

How to prevent creating a new node if the referenced node is closed?

I have two content type "Idea" and "Challenge". If I create an idea with a reference to a closed challenge then I need to prevent the idea from saving. Is it possible to do this using Rules?
Jetson John
  • 3,759
  • 8
  • 39
  • 53
0
votes
1 answer

How to set up a rule whitch will be executed every day?

I am trying to set up a rule that will send me a mail when a node will expire the next day. and of corse the rule must be executed every day in order to work. So I have a content type 'event' with the field 'end date' When the current date is one…
steph1301
  • 47
  • 1
  • 6
0
votes
1 answer

Drupal - need redirect to specified page when node is deleted

I'm using the pathologic module, and currently when a node is deleted users will get a 404 error. I want to set up a Rule such that when ANY node is deleted, a redirect is put in place to send users looking for that path to the HOME page. Do I need…
Kelly Bell
  • 31
  • 1
  • 7
0
votes
1 answer

How To Relate a Node Field into a 2nd page using A Rules Link Action

I'm working on a jobboard type personal project (actually it's a musician type 'apply' for board). I'm a little stuck at a stage within the page flow. What I want is the said Advertisers 'posting' job Node reference (field ie: Bass Player), so that…
Paul B
  • 127
  • 11
0
votes
2 answers

How to check that two conditions of 5 are true?

I want to check that 2 of 5 fields are filled, but I don't know how. If I put this in conditions, that only checks one of the conditions is true: OR field1 is not empty field2 is not empty field3 is not empty field4 is not empty field5 is not…
0
votes
1 answer

How to limit the amount of User Points users get?

I've a content type 'Content' with the field 'Value' (an integer) and a flag called 'Publish Content and grant points to user'. Every time a Content is flagged with this flag, I'd like to grant the Content's author some User Points, equal to the…
Jeroen
  • 544
  • 3
  • 27
0
votes
1 answer

How to: Unpublish Nodes by Author when Author is assigned Role

I'm using Drupal 7 + Rules. I would like to create a rule that unpublishes all nodes authored by a user when they have been given a particular role. EVENT - After updating an existing user account CONDITION - User has role(s): SelectedRole ACTION…
areikiera
  • 35
  • 4
0
votes
1 answer

Change view_mode for particular node Drupal7 (Using Rules)

I have two different view modes. 1.)Defalut 2.)Full content Normal on the node it shows the -Node Title -Add to cart form. with the "Default" view_mode. Now after checkout process I want to change the view_mode to "Full content". So the "User who…
Aniruddhsinh
  • 2,099
  • 3
  • 15
  • 19
0
votes
1 answer

Complex Rule in Drupal involving multiple entities

I need to create a fairly complex rule in Drupal - I am willing to use either code or the interface to do so. I am more familiar with the interface, however, as opposed to the Rules API. Anyway, the rule will be as follows: It will happen based on a…
Steven Matthews
  • 9,705
  • 45
  • 126
  • 232
0
votes
2 answers

How to send an email to Drupal 7 Organic Groups Role Members?

In Drupal 7, I would like to set up a rule that sends an email to all users in an ORGANIC GROUPS Role, based on an action. I know how to get the action, I know how to do the loop, I know how to send the email. I cannot, for the life of me, figure…
0
votes
2 answers

Drupal 7 Ubercart 3.4 emailing order invoice action is not working

Here is my system settings: Drupal 7.20 Ubercart 3.4 Rules 2.2 All the other emailing function on this site are working properly except the ubercart emailing (order notification emailing and order status update emailing). The issue here is that the…
hunteryxx
  • 70
  • 1
  • 9
0
votes
1 answer

Drupal 7 - Send automatically email to users who have the same interest than in new node

Okay, here's the deal. My client posts job ads to his website. Applicants can register in his page and choose what kind of jobs they're interested in. If new job ad (new node) includes same interest(s) than a user(applicant) has chosen, email should…
0
votes
1 answer

Forcefully trigger a rule in Drupal

How do I force a rule to be triggered in Drupal, for example from code?
rockstardev
  • 13,479
  • 39
  • 164
  • 296
0
votes
1 answer

How to Schedule Component using PHP in Drupal Rules

I'm looking to "Schedule a Component" in Rules using some PHP. I'm able to set a value using "values known by the strtotime() function. Like +1 day.", but I would really like to use PHP to set the value (I'm wanting to set the scheduled date to a…
JoeMH
  • 11
  • 3
0
votes
1 answer

How do I set up ubercart to be conditional based on a ups shipping quote?

I am using Drupal 7 with ubercart shipping. My client want the cost of shipping to be ups ground quote unless it is >=$50. Then he wants to charge a flat $50. I created a flat rate that cost $50 and a ups ground quote. I don't see a condition that…
danielson317
  • 3,121
  • 3
  • 28
  • 43
1 2 3
8
9