backlink tags

88 views
Skip to first unread message

Alexander Zelenukhin

unread,
Jun 19, 2020, 3:01:29 PM6/19/20
to tiddl...@googlegroups.com
Hello!
I want to display a tag near the backlink (the tiddler tag that the link leads to)
Can anyone tell me how this can be implemented?

TW Tones

unread,
Jun 19, 2020, 9:35:05 PM6/19/20
to TiddlyWiki
Alexander,

That all depends on how you see the backlink in the first place!. 
  • Are you using a custom edition of tiddlywiki, roam, blink stroll etc...
  • Have you installed a substantial plugin
  • Did you make the backlinks display?

More information and illustration if possible, and people can help quicker and with less effort on their part.

Regards
Tony

Alexander Zelenukhin

unread,
Jun 19, 2020, 10:02:40 PM6/19/20
to tiddl...@googlegroups.com
Thanks!
I managed to figure it out on my own!
In Stroll:

$:/.giffmex/ViewTemplate/refslinks

instead

<span class="viewtemplatebigtext">

<$reveal type="nomatch" stateTitle=<<folded-state>> text="hide" tag="div" retain="yes" animate="yes">

<hr>

<$vars searchme=<<currentTiddler>> searchspx={{{ [<currentTiddler>escaperegexp[]]}}} >

<$list filter="[!is[system]all[current]backlinks[]!tag[hide]sort[title]] -[is[current]]"><$link><$view field="title" /></$link><br></$list>
</$vars>

</$reveal>

</span>

replace with

<span class="viewtemplatebigtext">

<$reveal type="nomatch" stateTitle=<<folded-state>> text="hide" tag="div" retain="yes" animate="yes">

<hr>

<$vars searchme=<<currentTiddler>> searchspx={{{ [<currentTiddler>escaperegexp[]]}}} >

<$list filter="[!is[system]all[current]backlinks[]!tag[hide]sort[title]] -[is[current]]"><$link><$view field="title" /></$link>
<$list filter="[all[current]tags[]sort[title]]" template="$:/core/ui/TagTemplate" storyview="pop"/>

<br></$list>
</$vars>

</$reveal>

</span>
Reply all
Reply to author
Forward
0 new messages