Hi Michael
I have written a set of widget plugins to enhance the functionality of
buttons -- they may be found here: http://gwiz.tiddlyspot.com/
The example given for the <$maketid> widget sounds similar to your usage
case, but there are a number of ways of achieving this -- have a look at
the demos for ideas.
Values from fields in the current tiddler may be accessed with the syntax:
attribute={{!!field-name}}
This syntax refers to the value of a field in the current tiddler -- to
access the value of a field in another tiddler, use this syntax:
attribute={{TiddlerTitle!!field-name}}
regards
On Monday, June 30, 2014 12:32:03 AM UTC+2, Michael wrote:
>
> Hi ruddb, Stephan,
>
> I seem to have a similar problem: I want to create a template with a 'new
> tiddler' button. The value for param should come from a field in the
> calling tiddler. I am not very experienced with the TW5 syntax, so in my
> naiveté I tried param={!!field}, but this does not work. I also tried to
> use Stephan Hradeks newtiddler plugin, using <$set> to set the values of
> tags and fields in the new tiddler, but if I want to do that dynamically
> using fields of the calling fiddler, I fail.
>
> How do you get it to work?
> Michael
>
> On Friday, March 7, 2014 10:14:58 AM UTC+1, ruddb wrote:
>>
>> Hi Stephan,
>>
>> Trying it now and it works great! I was a bit hesitant to use some
>> plugins because of bad experience from D3 to TW5 migration so I want to try
>> to use core functions. Do you now if this widget type will go to the
>> official release?
>>
>> Thanks again.
>>
>> On Friday, March 7, 2014 12:33:10 PM UTC+7, Stephan Hradek wrote:
>>>
>>> Did you see http://tiddlystuff.tiddlyspot.com
>>> Search for Newtiddler Widget.
>>>
>>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.