<div class="gmail_quote">2010/1/24 Domenic Santangelo <span dir="ltr"><<a href="mailto:domenics@gmail.com">domenics@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">You can still change on-the-fly strings. Just look at what's inside t() for a clue as to what to override.<div><br></div><div>t('@type %title has been created.', $t_args)</div>
<div><br></div><div>override "'@type %title has been created." to whatever.</div></div></blockquote><div><br></div><div>I never knew that - that's really useful! However, I still think writing an addition to the Utility module that will do this through the GUI would be useful for site builders who would never see this code. I'd best get cracking...</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><div><br></div><font color="#888888"><div>-D</div></font><div><div></div>
<div class="h5"><div><br></div><div><br></div><div><div><div>On Jan 24, 2010, at 3:13 PM, James Benstead wrote:</div><br><blockquote type="cite">I really don't think String Overrides does do this - at least, I've never been able to get it to change this particular string, I think because it's generated on the fly.<br>
<br><div class="gmail_quote">On 24 January 2010 21:03, Darth Clue <span dir="ltr"><<a href="mailto:darthclue@gmail.com" target="_blank">darthclue@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
Jim,<br>
<br>
String Overrides ( <a href="http://drupal.org/project/stringoverrides" target="_blank">http://drupal.org/project/stringoverrides</a> ) will do that. I don't recall if it has token support.<br>
<br>
Jonathan<div><div></div><div><br>
<br>
James Benstead wrote:<br>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;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.<br>
<br>
--Jim<br>
--<br>
My IM and Skype details are at <a 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>
</blockquote>
<br>
</div></div></blockquote></div><br>
</blockquote></div><br></div></div></div></div></blockquote></div><br>