<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
+1 for hook_message_alter() in core. <br>
<br>
I am not sure how this could be implemented nicely in contrib, though.
Do we have a way, using existing hooks, to access the
$_SESSION['messages'] array after core and all other modules have added
their messages to it?<br>
<br>
Brian<br>
<br>
Khalid Baheyeldin wrote:
<blockquote
cite="mid:4a9fdc631001241315g2c50f9c3l8ec0bcdba55d3537@mail.gmail.com"
type="cite">A module that allows message_alter kind of operations for
dsm() would be great.<br>
<br>
We really need a hook for this. See here:<br>
<br>
<a moz-do-not-send="true" href="http://drupal.org/node/127262">http://drupal.org/node/127262</a><br>
<a moz-do-not-send="true" href="http://drupal.org/node/234320">http://drupal.org/node/234320</a><br>
<a moz-do-not-send="true" href="http://drupal.org/node/462160">http://drupal.org/node/462160</a><br>
<br>
<div class="gmail_quote">On Sun, Jan 24, 2010 at 2:59 PM, James
Benstead <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:james.benstead@gmail.com">james.benstead@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Currently
the message that is shown to a user when a node is created - @type
%title has been created. - seems to be hardcoded into node.module. I've
just helped someone on IRC change this, but it's quite a long-winded
process. Would a module be welcome? It would unset the message set on
line 463 of node.pages.inc, and allow the user to set their own message
on a per-nodetype basis. Integrated with Token and CCK.
<div><br>
--Jim<br>
--<br>
My IM and Skype details are at <a moz-do-not-send="true"
href="http://state68.com/contact" target="_blank">http://state68.com/contact</a>.<br>
--<br>
At some point I'll probably tell you to buy The Borrible Trilogy.<br>
The simplest way to shut me up is to buy it now - search Amazon.<br>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Khalid M. Baheyeldin<br>
<a moz-do-not-send="true" href="http://2bits.com">2bits.com</a>, Inc.<br>
<a moz-do-not-send="true" href="http://2bits.com">http://2bits.com</a><br>
Drupal optimization, development, customization and consulting.<br>
Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra<br>
Simplicity is the ultimate sophistication. -- Leonardo da Vinci<br>
</blockquote>
<br>
</body>
</html>