stop

Events happening in the community are now at Drupal community events on www.drupal.org.
Anonymous's picture

Stop system message on create node

I've put together a rule that sends an email on a create node for a specific content type and this is working correctly.

However, I would like to prevent the standard message for a node create being displayed and set one of my own.

I've tried adding an action to "Execute custom PHP code" with the following in it:

<?php

  drupal_get_messages
('');
 
drupal_set_message('My message in here','');
?>

The result is that my message is displayed as well as the standard create node message in the form " has been created."

Read more
Subscribe with RSS Syndicate content