Hot answers tagged

3

You might want to investigate using the SMS Framework module along with Twilio SMS Integration instead - they have more users and there is more active and more recent development with these modules. They also have D8 ports, so you are covered for when you decide to upgrade to D8. But the answer below will work whether you use the above two modules or whether ...


2

Your conclusion is wrong. You say that page redirection does not work, but what is really happening is that your conditions are configured wrong so the redirect action is never used. For the rules_entity_is_of_bundle condition, you have: type: article bundle: article But articles are node types, so the type: should be node. This condition will ...


2

Access to a Drupal site is provided by permissions, and permissions are assigned to Roles. So the first thing to do is to create two types of users - one which can access the site when logged on and one which can't access the site when logged on. After that we can talk about how and when to change a specific user from the "can't access" to the &...


2

This works for D7 Term reference field (autocomplete?) in rules, widget does not affect, you just set values, but leave it as autocomplete, a select list cosumes more resourses The Text field is old and already has 500 nodes with 500 unique values. Unique values, this means one unique taxonomy term for each node. The Term reference field is new and ...


1

Most likely you just need to add a "Save entity" action. Entities that are part of the context (in this case the project node) are automatically saved, but any entities you create during the rule may need to be explicitly saved.


1

Note: What you refer to as the "token table" is actually a form element (named "token_tree") that is provided by the contributed Token module. You need the contributed Token module in both Drupal 7 and Drupal 8 if you want to use this form element - it is not part of Token module functionality included in core Drupal 8, you still need ...


1

drush rules-list is used to list all the Rules on your site. drush rules-export <rule-machine-name> will export a specific Rule. The command you show above simply takes the output of the rules-list command and passes it to rules-export, in effect looping over all the Rules and exporting each one.


1

Should have used user, instead of @user.current_user_context:current_user.


1

Looks like to get access to a Content Type fields the condition needed is 'Entity is of bundle' as stated in this issue comment, and fill it with: Entity: node Type: node Bundle: Your content type machine name


Only top voted, non community-wiki answers of a minimum length are eligible