I'd like to change the "Type the text for 'New Tiddler'" displayed by
default when creating a new tiddler by my template.
I've played with EditTemplate, but did not achieve anything and I
don't think it is the right place to set up my text template.
Is it possible to edit this default text?
How?
Thank you for your help
--
-- Laurent
If you're only concerned about the NewTiddler button, then you could
change that using the NewTiddler macro's text parameter:
http://www.tiddlywiki.org/wiki/NewTiddler_%28macro%29
If you want to extend this to (non-existing) tiddlers opened from wiki
links, you'll have to use a tiny plugin. Create a new tiddler, tag it
with "systemConfig", and add the following contents:
//{{{
config.views.wikified.defaultText = "Tiddler '%0' not found.";
//}}}
(The "%0" bit will be replaced with the respective tiddler title.)
HTH.
-- F.
I'm back to the topic after some times...
Thank you for your answers.
2008/6/23 FND <FN...@gmx.net>:
> If you're only concerned about the NewTiddler button, then you could
> change that using the NewTiddler macro's text parameter:
> http://www.tiddlywiki.org/wiki/NewTiddler_%28macro%29
>
> If you want to extend this to (non-existing) tiddlers opened from wiki
> links, you'll have to use a tiny plugin. Create a new tiddler, tag it
> with "systemConfig", and add the following contents:
> //{{{
> config.views.wikified.defaultText = "Tiddler '%0' not found.";
> //}}}
> (The "%0" bit will be replaced with the respective tiddler title.)
I want to replace the default text, for all new tiddlers, when created
from non-existing tiddlers.
So, I''ve tried the above, but it only changed the text displayed
before editing the new tiddler. On [edit] I still have "Type the text
for 'XXX'.", which is what I want to change.
My need is that simple and systematic. I would prefer not to use
complex template management as suggested by Anthony in another reply.
Is it possible?
--
-- Laurent
In that case, instead of "config.views.wikified.defaultText" as
described above, use "config.views.editor.defaultText" - everything else
still applies.
-- F.