how to make a link that opens multiple tiddlers?

85 views
Skip to first unread message

Miguel Bartelsman

unread,
May 3, 2015, 11:51:45 AM5/3/15
to tiddl...@googlegroups.com
Well, it's pretty much on the title, I need a link that opens multiple tiddlers at the same time.

I was using this:

<a href="#:TiddlerA%20TiddlerB%20%5B%5BTiddler%20with%20spaces%5D%5D">link</a>

Which translates into something like this

<a href="#:TiddlerA TiddlerB [[Tiddler with spaces]]">link</a>

The problem is that this replaces the whole story with these tiddlers and I just need to add them, like you would add a normal tiddler by clicking a link

Jed Carty

unread,
May 3, 2015, 12:05:21 PM5/3/15
to tiddl...@googlegroups.com
Assuming you are using tiddlywiki 5, the easiest way is probably using a button and action-navigate like this (using tiddlywiki.com as an example because that is where I tested it):

<$button class='tc-btn-invisible tc-tiddlylink'>Test
<$action-navigate $to=HelloThere $scroll=no/>
<$action-navigate $to=About $scroll=no/>
</$button>

Just change HelloThere and About to whatever tiddlers you want, and add more action-navigate widgets as needed. The tc-btn-invisible and tc-tiddlylink classes make it look like a normal link to a tiddler. If you do want the wiki to scroll to the newly opened tiddlers just remove the $scroll=no part.

Miguel Bartelsman

unread,
May 3, 2015, 12:35:02 PM5/3/15
to tiddl...@googlegroups.com
"The tc-btn-invisible and tc-tiddlylink" that'd do it, I just didn't want a button, thank you :D

Sylvain Naudin

unread,
May 4, 2015, 3:18:01 PM5/4/15
to tiddl...@googlegroups.com
Thanks Jed for this tips :)
(and Miguel for asking ^^')

Sylvain
Reply all
Reply to author
Forward
0 new messages