On Monday, March 29, 2021 at 11:47:06 PM UTC-7 Sapphireslinger wrote:

> *Problem 1: How to get "1. Introduction" to display as a link not a 
> button?*
> *Problem 2: How to call all FooVideos with a list filter where clicking a 
> link (of the caption) opens it in the tm-modal? *
>
 
<$list filter="[tag[FooVideo]sort[title]]">
   <$button class="tc-btn-invisible tc-tiddlylink" message="tm-modal" 
param=<<currentTiddler>>>
      <$text text={{!!caption}}/>
   </$button>
</$list>

Notes:
1) Removed trailing / from <$list> widget (use matching /$list widget 
instead)
2) Use class=" tc-btn-invisible tc-tiddlylink" to make the button appear as 
clickable link instead of a button
3) Variables used as parameter values need doubled angled brackets (i.e., 
<<currentTiddler>>)
4) Use $text widget to display caption (avoids unwanted links if there is 
any CamelCase in caption text)

enjoy,
-e

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c9cda57b-1ad5-4169-8f65-a4105811a188n%40googlegroups.com.

Reply via email to