Hi Willem,

Looking at the code in $:/.giffmex/ViewTemplate/refstranscludeclean it 
looks like this:

<$list 
filter="[!is[system]all[current]backlinks[]!tag[hide]!tag[outlines]sort[title]] 
-[is[current]]"><$link><$view field="title"/></$link><span 
class="indent1"><$link><span class="graybox"><$transclude field="text" 
mode="block" /></span></$link></span></$list>


The only thing I did was take what was in the file and add a new tag for 
each of your categories. You can try it too. So in your case it could be be:

+ Case Law:<br/>

<$list filter="[!is[system]all[current]backlinks[]!tag[hide]!tag[outlines]
*tag[caselaw]*sort[title]] -[is[current]]"><$link><$view 
field="title"/></$link><span class="indent1"><$link><span 
class="graybox"><$transclude field="text" mode="block" 
/></span></$link></span></$list>

<br/>

+ Literature:<br/>

<$list filter="[!is[system]all[current]backlinks[]!tag[hide]!tag[outlines]
*tag[literature]*sort[title]] -[is[current]]"><$link><$view 
field="title"/></$link><span class="indent1"><$link><span 
class="graybox"><$transclude field="text" mode="block" 
/></span></$link></span></$list>


Again, not sure this works but I imagine it would be the general idea.


On Monday, April 27, 2020 at 12:12:57 PM UTC+1, Willem Hagendoorn wrote:
>
> Ah I see, great!
>
> Your solution is getting me closer and closer, but I'm not there yet :)
>
> First, I don't have the /refstranscludecollapse but the r
> efstranscludeclean. 
>
> Then, when I replace the code under References with yours, it only seems 
> to work for the tag caselaw not for literature:
>
>
> [image: Schermafbeelding 2020-04-27 om 13.07.33.png]
>
> In a test, with two tiddlers tagged caselaw and two tiddlers tagged 
> literature , bot linked to the Human Rights tiddler it looks like this:
>
> [image: Schermafbeelding 2020-04-27 om 13.08.51.png]
>
>
>
>
> Op maandag 27 april 2020 12:47:52 UTC+2 schreef Anne-Laure Le Cunff:
>>
>> Awesome - what I meant is go to the sidebar, then click on the "more" 
>> tab, then click on "System", then search for $:/.giffmex/ViewTemplate/
>> refstranscludecollapse and open it in edit mode.
>>
>> Have a look at the code there. It's the code that generates your 
>> reference list. You could paste the code I sent you under References: 
>> <br> and create a few articles with the tags caselaw or literature that 
>> link back to a specific page to test it.
>>
>> I'm absolutely not sure my solution works, so please do a backup 
>> beforehand or try it on a copy of your current wiki.
>>
>> On Monday, April 27, 2020 at 11:28:37 AM UTC+1, Willem Hagendoorn wrote:
>>>
>>> Hey Anne-Laure,
>>>
>>> Many thanks voor your suggestion and thank you for introducing 
>>> TiddlyWiki in the Ness Labs newsletter! 
>>>
>>> I'm using TiddlyBlink indeed, forgot to mention it. At the moment I have 
>>> no clue what to do with the code yet, but I think I will manage to figure 
>>> it out. If not, you will hear from me soon :)
>>>
>>>
>>>
>>>
>>> Op maandag 27 april 2020 10:20:40 UTC+2 schreef Anne-Laure Le Cunff:
>>>>
>>>> Hi Willem,
>>>>
>>>> I assume you're using TiddlyBlink for your backlinks? If so I think 
>>>> there may be something to do in the 
>>>> $:/.giffmex/ViewTemplate/refstranscludecollapse file like this:
>>>>
>>>> + Case Law: <br>
>>>>
>>>> <$list filter="[!is[system]all[current]backlinks[]!tag[hide]
>>>> *tag[caselaw]*!tag[outlines]sort[title]] -[is[current]]"><$link><$view 
>>>> field="title"/></$link>
>>>>
>>>>
>>>> + Literature: <br>
>>>>
>>>> <$list filter="[!is[system]all[current]backlinks[]!tag[hide]
>>>> *tag[literature]*!tag[outlines]sort[title]] 
>>>> -[is[current]]"><$link><$view field="title"/></$link> 
>>>>
>>>>
>>>> Hopefully David Gifford (who created TiddlyBlink) can jump in to 
>>>> confirm as I'm far from being an expert!
>>>>
>>>> On Monday, April 27, 2020 at 8:18:32 AM UTC+1, Willem Hagendoorn wrote:
>>>>>
>>>>> Hi all!
>>>>>
>>>>> Only yesterday I discovered TiddlyWiki, so I'm totally new to this. 
>>>>> Since the possibilities are limitless, or so it seems, I was wondering if 
>>>>> someone can help me out with the following. 
>>>>>
>>>>> I would like to organize the tiddler's backlinks and display them 
>>>>> sorted by subject.
>>>>>
>>>>> I also would like to show the specific fragment (and nothing else) the 
>>>>> link is refering to in the list 
>>>>>
>>>>> For example:
>>>>>
>>>>> --Tiddler--
>>>>> About Human Rights
>>>>>
>>>>> --References/backlinks--
>>>>>
>>>>> + Legislation
>>>>> Tiddler about art. A, law Z
>>>>> (Art. A mentions -Human Rights-) 
>>>>>
>>>>> Tiddler about art. B, law Z
>>>>> (This art. can also be used when conducting research about -human 
>>>>> rights-) 
>>>>>
>>>>>
>>>>> + Case Law
>>>>> Tiddler about case H
>>>>> (textfragment -human rights-) 
>>>>>
>>>>> Tiddler about case I
>>>>> (textfragment -human rights-) 
>>>>>
>>>>>
>>>>> +Literature
>>>>> Tiddler about book A
>>>>> (textfragment -human rights-)
>>>>>  
>>>>> Tiddler about book B
>>>>> (textfragment -human rights-) 
>>>>>
>>>>>
>>>>> I hope this (or something similar) is possible! Can someone help me 
>>>>> out? :) 
>>>>>
>>>>> Thanks! 
>>>>>
>>>>> Willem
>>>>>
>>>>>

-- 
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/4d551cbd-6855-43fa-af30-10ddb4b79b35%40googlegroups.com.

Reply via email to