newTiddler - Use tag of parent tiddler

8 views
Skip to first unread message

Eris of StrongHold [STRM]

unread,
Jan 25, 2009, 7:37:53 AM1/25/09
to TiddlyWiki
http://www.strm.us/Private/TWGG%20Questions%200109.htm#Question02

How would I change tag:'Project1' to use the title of the parent
tiddler?
Using New Tiddler Macro:
<<newTiddler
label:'New Task'
title:'New Project1 task'
text:{{store.getTiddlerText('TaskTemplate','')}}
tag:'Project1'>>

FND

unread,
Jan 25, 2009, 12:23:39 PM1/25/09
to Tiddl...@googlegroups.com
> How would I change tag:'Project1' to use the title of the parent
> tiddler?

The following should work:
<<newTiddler
tag:{{tiddler.title}}
>>
(This requires TiddlyWiki 2.4.3.*)

Note that using the tags of the parent tiddler, as suggested by the
title of this post, would be more complicated because it'd require more
than a single parameter.


-- F.


* http://trac.tiddlywiki.org/ticket/444

Eris of StrongHold [STRM]

unread,
Jan 26, 2009, 5:55:01 PM1/26/09
to TiddlyWiki
Actually you answered my question perfectly - my post name was not
correct.

Thank You for your patience !!

Mike
Reply all
Reply to author
Forward
0 new messages