cant get tiddler to show tagged

5 views
Skip to first unread message

Ryan

unread,
Jan 27, 2009, 10:41:14 AM1/27/09
to TiddlyWiki
Im baffled.

I've got [tag[journal]] in DefaultTiddlers to show my journal entries
on start. That works fine..

I created a tiddler called "in progress" and gave it the definition
[tag[inprogress]] and have twiddlers tagged with "inprogress"

Why arent these listed in the "in progress" tiddler? This is driving
me nuts!

FND

unread,
Jan 27, 2009, 11:22:09 AM1/27/09
to Tiddl...@googlegroups.com
> I created a tiddler called "in progress" and gave it the definition
> [tag[inprogress]] and have twiddlers tagged with "inprogress"

What do you mean by "gave it the definition"? Can you provide a test case*?


-- F.


* cf. http://www.tiddlywiki.org/wiki/Troubleshooting

Eric Shulman

unread,
Jan 27, 2009, 11:25:49 AM1/27/09
to TiddlyWiki
> I've got [tag[journal]] in DefaultTiddlers to show my journal entries
> on start. That works fine..
> I created a tiddler called "in progress" and gave it the definition
> [tag[inprogress]] and have twiddlers tagged with "inprogress"
> Why arent these listed in the "in progress" tiddler?

Upon startup, the contents of DefaultTiddlers is used as *data* by the
core in order to determine which tiddlers are to be initially
displayed. Typically, DefaultTiddlers contains just a statically-
defined space-separated list of tiddler titles. However, in order to
provide greater flexibility, the core also permits you to embed
"tiddler filter" syntax in that list of titles, e.g.:

SomeTitle [tag[something]] SomeOtherTitle

Normally, the [tag[...]] syntax is used within a TW macro that
processes a list of tiddlers (e.g., <<someMacro ... [tag
[tagvalue]] ...>>), and the use of [tag[...]] in DefaultTiddlers is
handled as a special case: it is used programmatically by the core to
*select* the tiddlers to be displayed at startup. However, when
DefaultTiddlers itself is shown in the story column, the tiddler
filter is rendered as-is, since that syntax is not interepreted as a
wiki *formatting* sequence.

Fortunately, even though you can't use the filter syntax directly in
tiddler content, you can apply the filter to render a list of links to
tiddlers by using the <<list>> macro:

<<list filter [tag[something]]>>

This will automatically display a bulleted list of links to all
tiddlers that are tagged with 'something'. Just place the above macro
into your 'InProgress' tiddler and you should be all set.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
Reply all
Reply to author
Forward
0 new messages