By jgknight on
Hi there. I'm wondering if there's an api available to develop modules off of the forum module.
I need to have, for example, a hook that will activate when a topic is posted so that I can display a custom message to the user posting the topic. Is there anything like that? I've looked around api.drupal.org but it's not very clear to me.
Comments
hook_nodeapi
Not forum specific, but hook_nodeapi() is one way to do that.
I'm a newbie here - so don't
I'm a newbie here - so don't know much either. But I remember seeing something about triggers (new to Drupal 6). As the docs explain - it's almost like having a SQL stored procedure
Check here
http://www.scribbledesigns.co.uk/2008/04/03/howto-configuring-triggers-a...
http://zzolo.org/thoughts/drupal-actions-and-triggers
d
Thanks. Triggers, Token, and Rules modules did the trick.