This looks more like a new function, rather than an override. If you
need this functionality I suggest something like (untested):

function displayTiddlerMessage(text,linkText)
{
    var e = getMessageDiv();
    if(!e) {
        alert(text);
        return;
    }
    if(linkText && store.getTiddler(linkText)) {
        createTiddlyText(createTiddlyLink(e,linkText), text);
    } else {
        displayMessage(text,linkText);
    }
}

Martin

On 19 July 2011 13:28, S. <steint...@gmail.com> wrote:
> Hi there.
>
> Was wondering if this change to displayMessage() would make sense for
> the core of TW:
>
> http://sthor.tiddlyspot.com/#DisplayMessageOverridePlugin
>
> that is when you add a link as well, if it's a tiddler, link to
> tiddler, else link to html.
>
> Regards,
> S.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWikiDev" group.
> To post to this group, send email to tiddlywikidev@googlegroups.com.
> To unsubscribe from this group, send email to 
> tiddlywikidev+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/tiddlywikidev?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to tiddlywikidev@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywikidev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.

Reply via email to