Status:
Answered
Hi,
I created some content types, and I have named this content types as mycontent1 and my content2 , etc....
When I edit a node for example of the content type named "mycontent1", is shown the next message:
mycontent1 'title of the node' has been updated
I want to replace 'mycontent1' for other name, for example the plan name, so:
plan name1 'title of the node' has been updated.
I want to replace this for all content types created and associated with Pay to Publish.
Is it possible?
Thanks.








Cabita,
The message you are referring to is generated by the node module. To stop it from showing and instead show your own, you would need to intercept the message using a custom module and drupal_get_message() during hook_node_update. Then in the same function you would load the plan for the node, and show the appropriate message.
It is kind of tricky to do.
Also, it is somewhat confusing when you say Content Type, because I feel that you are using it wrong.
Content Type is not the same thing as Node. Content Types are like groups, and Nodes are in those groups. Hope that helps clear things up.
Sincerely,
Leighton Whiting