MainMenu: How to show only specific tiddlers (Filter)

15 views
Skip to first unread message

mankell

unread,
Apr 30, 2008, 5:42:14 AM4/30/08
to TiddlyWiki
Hello,

I managed to add a Menu Item called "CSS" in the MainMenu. It is a
link.

I want now to show now all my tiddlers which belong to this CSS-
category. I don't know if I can show all tiddlers with the tag CSS or
if I can move my tiddlers somehwo in a category called "CSS"?

Whats the best way to proceed?

Thank you for advice

FND

unread,
Apr 30, 2008, 6:02:24 AM4/30/08
to Tiddl...@googlegroups.com
> I want now to show now all my tiddlers which belong to this CSS-
> category. I don't know if I can show all tiddlers with the tag CSS or
> if I can move my tiddlers somehwo in a category called "CSS"?

Take a look here:
http://www.tiddlywiki.org/wiki/Opening_Multiple_Tiddlers

HTH.


-- F.

Eric Shulman

unread,
Apr 30, 2008, 6:34:14 AM4/30/08
to TiddlyWiki
> I managed to add a Menu Item called "CSS" in the MainMenu. It is a
> link.
>
> I want now to show now all my tiddlers which belong to this CSS-
> category. I don't know if I can show all tiddlers with the tag CSS or
> if I can move my tiddlers somehwo in a category called "CSS"?

If the desired tiddlers are tagged with "CSS", there are several ways
to display links to all these tiddlers

1) The <<tag tagname>> macro will show the specified tagname as a link
that, when clicked, opens a TW popup that lists all tiddler tagged
with that tagname. You can select any one tiddler to open it, or use
the "open all" item to open all of the listed tiddlers at once.

2) The <<list filter [tag[tagname]]>> macro will list all tiddlers
that match the indicated tagname as separate links. You can then
click on any individual link to open that tiddler.

3) http://www.TiddlyTools.com/#OpenTaggedTiddlers
is an 'inline script' (requires http://www.TiddlyTools.com/#InlineJavascriptPlugin)
that creates a single link that automatically opens all tiddlers that
have a matching tag.
Basic usage is:
<<tiddler OpenTaggedTiddlers with: "label" "tagToMatch">>
Optional parameters include:
"sortBy"
- a tiddler fieldname, and defaults to "title" (use "modified"
or "created" for dates)
"reverse"
- a *keyword* that reverses the order of display of the matched
tiddlers (when not present, tiddlers are sorted in ascending order)
"close"
- a *keyword* that causes all open tiddlers to be closed before
opening the matching tiddlers

HTH,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

mankell

unread,
Apr 30, 2008, 6:55:22 AM4/30/08
to TiddlyWiki
thank you very much for helpful advice. it works well now!

Michael.Tarnowski

unread,
May 3, 2008, 9:46:22 PM5/3/08
to TiddlyWiki
Another option to show a list of tagged items is TiddlerListMacro
(http://jackparke.googlepages.com/jtw.html#TiddlerListMacro) by Jack
Parke
Have a look at it!
Cheers Michael
Reply all
Reply to author
Forward
0 new messages