Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 39516

Use it for questions about the engine which allows site administrators to automate actions: the Rules module.

14 votes
Accepted

How to add a custom icon or symbol to a flag link?

Option 1: Show an image beside the Flag text You can use CSS to add padding to the left of the text and in it show a background image, as shown also in the community documentation about How to show a …
Pierre.Vriens's user avatar
11 votes
Accepted

How to use the Rules module to implement a custom redirect for an outdated URL?

Use Rules with 'Drupal is initializing' Using the Rules module to get this to work, you should be able to use the "Drupal is initializing" event. … PS: If you're not familiar (enough/yet) with Rules, checkout the 32 (!!!) great, and free, video tutorials Learn the Rules framework. …
Pierre.Vriens's user avatar
10 votes
Accepted

How to show messages starting with "Debug : " to an administrator only?

Option 1: Use the Disable Messages module Use the Disable Messages module for this. Here is a quote from its project page: Gives a site owner options to disable specific messages shown to end use …
Pierre.Vriens's user avatar
6 votes

How to create custom rules action event conditions?

A "universal formula or module to create custom rules actions, events and conditions" (as is your question), is to write a custom module. … Part 1: Defining the Event, Condition and Action Define the Rules Event /** * Implementation of hook_rules_event_info(). * @ingroup rules */ function your_module_rules_event_info() { return array( …
Pierre.Vriens's user avatar
6 votes
Accepted

What's the alternative to using the Conditional Rules module?

a Rules Component: The Rules Condition within the Conditional Rules construct, has become a Rules Condition of the Rules Component. … The actual Rules Action to be performed, was moved to a Rules Action of the Rules Component. …
Pierre.Vriens's user avatar
5 votes
Accepted

How to publish nodes 3 times a day?

Using modules VBO, Rules and Rules Scheduler About your approach using modules Views Bulk Operations (VBO), Rules and Rules scheduler (submodule of Rules), for which you wrote "it doesn't seem possible … Using modules Rules and Rules Once per Day There is a fairly new module related to rules, i.e. the "Rules Once per Day" module. …
Pierre.Vriens's user avatar
5 votes
Accepted

How to add up all items of a field collection field using Rules?

However you don't need such Rules Component, only 1 rule will do. … Rules Event: Content is viewed (of type Article), adapt the machine name of the content type article to whatever fits (or use any other Rules Event that fits). …
Pierre.Vriens's user avatar
5 votes
Accepted

What does Rules token "node:unchanged" mean?

How to include only an updated custom field in an email created using Rules? … How to use Rules to email users when any field(s) is changed in a node (and include the unchanged/changed values for that field)? …
Pierre.Vriens's user avatar
5 votes
1 answer
3k views

What's the alternative to using the Conditional Rules module?

The Conditional Rules module allows for including Rules Conditions within Rules Actions (using its If/Else constructs), something you cannot do by only using the Rules module. … Is there any alternative solution for building equivalent Rules logic, and which doesn't require using the Conditional Rules module? …
Pierre.Vriens's user avatar
4 votes
Accepted

How to change fields permission using some action in the Rules module?

To my knowledge, there is no way you can "add the field edit permission to the Action component of the Rules module" (as in your question), which is somehow confirmed in the Post installation Support forum … comments of that link, there is an interesting work around that might work in your case also: Create a user role that has editing permissions for the field, then assign that user role to a user with Rules
Pierre.Vriens's user avatar
4 votes
Accepted

How to set an expiration date on an active rule so that it is disabled on a certain date?

With that, the only challenge left to make this work, is to enhance your rule to be disabled, to conditionally trigger this (new) Rules Component "after the moment has arrived" for your rule to be disabled … For this you might want to add "Conditional Rules" (so that you can add a condition within the Rules Action of your rule to be disabled). …
Pierre.Vriens's user avatar
4 votes
Accepted

How to create a node from a Webform using rules?

Condition to prevent the Rules Action from being executed for anonymous users (feel free to adapt the role id of it, or just remove that Rules Condition. … The Rules Action only displays an (informational) message on the site (my recommended way of writing and debugging Rules ...) after a webform gets submitted. …
Pierre.Vriens's user avatar
4 votes
Accepted

Date field comparison in Rules

But sorry, it's rather that you're trying to make Rules do something (compare 2 values), without providing Rules all the info it needs. … How to move forward Your Rules Event is pretty sure OK, but you're missing a crucial Rules Action: a Rules Loop. …
Pierre.Vriens's user avatar
4 votes

How to know user submitted first content of a specific type?

Then create a rather basic rule like so: Rules Event: After saving new content. Rules Conditions (both must be satisfied): The submitted content has a type that matches your specific type. … Rules Action = Assign the "Contributor" role to the author of the node. With the above in place, improve your existing rule to check if ... you guessed it ... the user has role "Contributor". …
Pierre.Vriens's user avatar
4 votes
Accepted

How to notify users when a new comment is posted in the same page as they did?

If you're familiar with reading/digesting Rules in Rules export format, I'd hope the rule is self explaining. … If you don't want to use the Conditional Rules module, you could also rework the Rules Action withn the last Rules Loop to performing Rules Components (in which you add the appropriate Rules Conditions …
Pierre.Vriens's user avatar

1
2 3 4 5
33
15 30 50 per page