Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
or a negate option would work.
Thanks
or a negate option would work.
Thanks
Comments
Comment #1
fagowhat are you talking about? Nevertheless, there is a negate option for conditions.
Comment #2
eyecon-1 CreditAttribution: eyecon-1 commentedPlease bear with me. I am a tad new to Drupal.
It's not a condition, it's an event. Under Workflow-Wordfilter, the only option is node/comment contains words in filter list.
What I am trying to do is to publish only feed items to nodes that contain certain words. I tried to do this with a textual comparison which is superior because of RegEx but I cannot get it to work, presumably because I cannot determine the correct [node:type] token for the teaser.
Any help would be appreciated.
Comment #3
fagoah, are you talking about the workflow-wordfilter module? I wasn't even aware of that module - I 've just found it because of your issue :)
-> I posted an enhancement proposal for the module there: http://drupal.org/node/190573
However filtering for words with a proper regex in workflow-ng's string comparision condition should work fine.
Comment #4
eyecon-1 CreditAttribution: eyecon-1 commentedThanks. I went through the docs on the home page and there is no example.
A textual comparison requires two strings. String two is "/regular expression pattern/[i]"
What I cannot figure out is what to do for string one. How do I determine what [token] to use representing the feed item teaser?
I have gone through countless docs and my copy of "Pro Drupal Development." It must be a brain freeze in that I simply cannot find what I am looking for.
Thanks for your patience.
Comment #5
fagofor string two, just use "regular expression pattern". However yes, there is no token for the node teaser :/ So perhaps you would need a node teaser wordfilter/regex condition