Thanks again, but I already found this thread and it doesn't help. It
creates new Tiddlers from a button which I can already do. I want to be
able to change the text in a new Tiddler that is created by clicking a link
in text, no buttons required. So if I type [New Tiddler Link]] and click
that in the Wiki a new Tiddler with that name is created. That is the kind
of Tiddler I want to change. The button created ones don't seem to affect a
Tiddler created like this.

On Fri, 30 Apr 2021 at 16:20, Jean-Pierre Rivière <
jn.pierre.rivi...@gmail.com> wrote:

> Search for NewHere button. An old thread contains a lot of information for
> a similar quest.
> Le vendredi 30 avril 2021 à 17:10:04 UTC+2, isd196...@gmail.com a écrit :
>
>> Thanks Jean-Pierre, but I don't want to change the
>> standard functionality to do this, in fact I'd much rather edit the default
>> template that you mention, but I just don't know the name of it! Now if you
>> can tell me the name of that default template I might well have the
>> answer! 😉
>>
>> On Fri, 30 Apr 2021 at 10:14, Jean-Pierre Rivière <jn.pierr...@gmail.com>
>> wrote:
>>
>>> I have a kind of a solution for journal tiddler. Journal because you can
>>> simply define default text for new journal. For common tiddlers, you'd have
>>> to mess with the default template.
>>>
>>> first, I define a macro called autotext. For instance:
>>>
>>> \define autotext(clever)
>>> <$set name=hail value="Hi! I'n a new tiddler.
>>>
>>> !! $clever$
>>> ">
>>> <$action-setfield $field=text $value=<<hail>>/>
>>> </$set>
>>> \end
>>>
>>> An then I add this as default text for new journal tiddler:
>>>
>>> << autotext "This is great!">>
>>>
>>> And when I create a new journal, it appears with the default text above.
>>> Just validate it. You see a "do it" button. Just click it. And presto! your
>>> text is now set as the hail variable was computed (along your need).
>>>
>>> The trick is to be in action mode to be able to change the fields of the
>>> tiddler. Which you are not when the initial text is inserted as this
>>> experiment do show you (although it could have been the case since in the
>>> creation of a new journal, you begin by clicking on a button).
>>> Le jeudi 29 avril 2021 à 19:12:46 UTC+2, isd196...@gmail.com a écrit :
>>>
>>>> Hello.
>>>>
>>>> Thanks to posts in this group I have been able to create new buttons
>>>> that are used to create various custom Tiddlers. These are simple and work
>>>> very well, however I would like to take this one stage further.
>>>>
>>>> The vast majority of my new Tiddlers are created via standard square
>>>> bracket links in text that are added on the fly and then clicked to create
>>>> the new Tiddler.
>>>>
>>>> What I want is for those new Tiddlers that are created by clicking on
>>>> links in text, to be created with some text already in them. I'm not
>>>> worried about adding tags at this stage.
>>>>
>>>> Is there a system default Tiddler (or some other mechanism) that I can
>>>> edit or create so that ALL Tiddlers created when clicking on a text link
>>>> will have my default text in them?
>>>>
>>>> Many thanks for your time
>>>>
>>>> Jax
>>>>
>>>>
>>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "TiddlyWiki" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/tiddlywiki/tf-7T3zxEo0/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> tiddlywiki+...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/5c301311-9a8d-4ba7-be08-7cabce896fecn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/tiddlywiki/5c301311-9a8d-4ba7-be08-7cabce896fecn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/tf-7T3zxEo0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/9f53952d-5ab2-42a2-9531-8081270fec3en%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/9f53952d-5ab2-42a2-9531-8081270fec3en%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAFm1UBODEteSL6zU0xU%2BDGhQ6a-5Yk2N%2B6ygKDxAdOkg1BbwOQ%40mail.gmail.com.

Reply via email to