David,

Thanks so much! 

I just tried adding this, and it appears to create a tab for each 
reference, which isn't what I'm looking for. Allow me to provide some 
additional context/clarification, as I realize I was a bit vague...


Currently, I have my wiki set up using Drift for references. So on the 
bottom of each tiddler, there is a "Backlinks" tab, a "Tagged" tab, and a 
"Freelinks" tab. 

This works great, but the issue is that it only shows the title of each 
reference. Often times I am wanting to also have it show the body of the 
reference as well. 

Stroll is able to accomplish that quite nicely as it gives me the ability 
to select how I want to view the references. 

So I suppose what I am wanting would be somewhat of a hybrid of Stroll and 
Drift, where I can have different tabs difference types of references, but 
within each tab, be able to select how each reference is shown (title only, 
title + body, title + context, etc).



Let me know if that makes any sense or if I'm just making it worse ;)



On Friday, December 18, 2020 at 10:08:17 AM UTC-6 David Gifford wrote:

> Create a tiddler:
>
> Title: $:/.giffmex/ViewTemplate/refstabs
>
> Tag: $:/giffmex/refs 
> Caption: Tabs
> Dummy: yes
>
> Text: 
>
> <span class="viewtemplatebigtext">
>
> <$reveal type="nomatch" stateTitle=<<folded-state>> text="hide" tag="div" 
> retain="yes" animate="yes">
>
> <hr>
>
> <$vars searchme=<<currentTiddler>> searchspx={{{ 
> [<currentTiddler>escaperegexp[]]}}} >
>
> <<tabs ' [!is[system]all[current]backlinks[]!tag[hide]sort[title]] 
> -[is[current]] ' '' '$:/state/tab/strolltabs' 'tc-vertical'>>
> </$vars> 
>
> </$reveal>
>
> </span>
>
> On Friday, December 18, 2020 at 10:00:02 AM UTC-6 switchplayer wrote:
>
>> Hello,
>>
>> Is there any way to implement tabs in Stroll's functionality? That is, on 
>> each tiddler, have tabs appear listing the different types of references 
>> (backlinks, tagged, etc). 
>>
>> I know Drift does something similar, but Drift does not allow you to 
>> change the viewing style of the references like Stroll does. 
>>
>> Still a beginner when it comes to TiddlyWiki development, so unsure of 
>> how this would be accomplished. 
>>
>> Thanks!
>>
>

-- 
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/064923dd-b83a-4d08-9d5e-46815b4ce148n%40googlegroups.com.

Reply via email to