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 moreDesenvolvimento de sistemas em Drupal
Gostaria de saber se alguém aqui utiliza Drupal para desenvolvimento de sistemas.
Algo como cadastro de clientes de locadora, ou gerenciamento de funcionários, ponto eletrônico, sistema contábil.
Vi que existe o http://openatrium.com/ , porém é o único caso real (e bem feito) de sistema que eu encontrei por aí, o resto é tudo site.
Qualquer resposta é bem-vinda.
Henrique Gogó
http://www.gogs.com.br