Timeline for How to automatically modify a field after saving content?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:47 | history | edited | CommunityBot |
replaced http://drupal.stackexchange.com/ with https://drupal.stackexchange.com/
|
|
Oct 21, 2016 at 16:36 | comment | added | Pierre.Vriens | @AndrésChandía : if you're still struggling with the exact "Rules Conditions", you may want to look at this answer I posted earlier today. It's about Rules Conditions that check for a specific value of a term reference field. Which is similar I think to what you were trying to achieve, no? | |
Mar 18, 2016 at 21:31 | comment | added | Andrés Chandía | I see now that next step is set a Switch, I selected Data to match cases against, and term:field-entrada:value in the data selector, I'm not suere about this step and I dont know how to finish it.... | |
Mar 18, 2016 at 16:42 | comment | added | Andrés Chandía | Thanks for your answer @Pierre.Vriens, I'm a little bit lost though, trying to follow you I have done this: 1. Create the Rule PCHRule. 2. Add triggering event: After updating an existing term of vocabulary A. 3 Add condition (on the original question I was using not real data, now I will use it) Text comparison; term:field-relation contains "Child"..... Until here, because I can't figure out what to put in action to repalce in term: field_entrada <p>the_term</p> by <ul>the_term</ul> .... thanks again | |
Mar 17, 2016 at 14:01 | history | edited | Pierre.Vriens | CC BY-SA 3.0 |
Add Conditional Rules module
|
Mar 17, 2016 at 13:38 | comment | added | Pierre.Vriens | @NoSssweat : you're correct (thought that was clear enough from what's written in the last parg of my other answer). But let me refine my answer here with yes or no using/requiring Conditional rules. BTW: I more and more try to group many rules together these days using the extra module. Just to keep them manage-able. | |
Mar 17, 2016 at 13:35 | comment | added | No Sssweat | To simply this answer: 1) Add Condition >> Text Comparison >> node:field_name1 >> A. 2) Add Action >> Set a Data Value >> node:field_name2 >> random_name (might have to click switch to direct input mode button) | |
Mar 17, 2016 at 13:30 | comment | added | No Sssweat | He would have to create 3 different rules, 1 for each scenario. Although, if he wants one rule, he could use Conditional Rules module. | |
Mar 17, 2016 at 13:22 | history | answered | Pierre.Vriens | CC BY-SA 3.0 |