How to create a containing keyword condition

askibinski - November 1, 2009 - 13:48
Project:Rules
Version:6.x-1.1
Component:Rules Engine
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Is it possible to use rules to create a condition which looks for certain keywods in a node or comment which is about to be published? (to filter for a custom set of bad words for example)

I know it's possible with action/triggers but I wonder if I can also use rules for this. Can't seem to find it (or any documentation).

#1

fago - November 2, 2009 - 11:09

There is no such condition yet, but of course you can write one. See the developers docs for how to do that. However the core provided actions having this feature can be used too.

#2

ycimlynn - November 5, 2009 - 16:06

subscribe

Would be a useful feature. I have done some coding around nodes, but comments are a bit of a different ballgame.

 
 

Drupal is a registered trademark of Dries Buytaert.