New answers tagged

0

Actually there are two ways for that: 1- The easy one : Add new condition select Data comparison and in the parameter: Parameter: Data to compare: [site:current-page:language], Data value: English 2- The Hard one: /* * Implements hook_rules_condition_info(). */ function MODULE_NAME_rules_condition_info() { $conditions = array(); $conditions['...


0

Make sure that the VBO field is loaded in the Master display. In the Views module settings, it is possible to force this Master display.


0

Thanks both Jdrupal and gillarf above. I did something different here, but i used both of your logic. First, i created a custom module and then i used hook_menu() function. In this hook_menu, i used a link and if i call that link then page callback function will execute. In page callback function, i used dbquery to get the data from the DB and based on my ...


0

The following Rule export does what you asked, for users created in the UI. In D8. I have tested it and it works. You will also need to use the (temporary) patch from https://www.drupal.org/project/rules/issues/2725525#comment-11438731 to work around the problem with in assigning roles. The concept to understand is that Rules knows about the base fields for ...


1

you will need flag module make a global user flag: user_has_content, make a rule: react on event: after saving new content of your special type, add a condition: user author is NOT flagged, inside rules action: flag it, only once your user author will be flagged, then on your view, add relationship to author & one more relationship on the new flag on ...


Top 50 recent answers are included