Show links of a tiddle in the sidebar

125 views
Skip to first unread message

jeroen ophetweb

unread,
Jun 1, 2019, 5:55:25 PM6/1/19
to TiddlyWiki
Hello,

I just started with TiddlyWiki as it comes closest to my ultimo personal knowledge tool. What I am looking for is not al tool in which I have to add all my information. Most of my information is already available so I only need to link to it from a central place. I think TiddlyWiki can be that central place.

My information contains of PDF's, Office files, Web-URL's, TXT files and it is stored on different locations that are available to me like NAS locations, Samba shares, local disks, Box.com and Dropbox locations. All depending on the fact if a certain file need to be shared with somebody and if I want it to be available on mobile devices (very limited). 

Besides that I want some simple notetaking capabilities of which TiddlyWiki has more than enough. 

Most of the above can be realised by TiddlyWiiki but only by adding the links to files or different tiddlers in the text of a note. 

There I have an issue. I would like to be able to add links to a tiddler that are not part of the tiddlers text. In my perfect scenario the links would be shown in the sidebar on a new tab named "Links". There I cloud add add links of different kinds (see above). 

I think that the registration of knowledge is not so important but the linking of knowledge parts. 

An example : When  I create a new project tiddler with some information about a new project I want to keep that text very much to the point. At the same time I want to create links to for example the project leader (1 link), project members (4 links), directory/share where project files are shared (1 link) and direct links to some of the most important documents (5 links). 

This information is important in relation to the new project but should not need to be in the text of the new project tiddler. Best case scenario would be if the links are bi-directional (if possible), so when I go to the tiddler of the  project leader I see automatically a link to the new project tiddler. 

As I am rather new to TiddlyWiki (besides some testing a long time ago) and there is a lot of information and plugins available I would ask the community if there is some plugin that does this kind of linking (I have not found it myself)? Are there more people that would like some software that links to information from a central place instead of again a different notes application?

Currently I use TheBrain free edition to fullfill my needs but the restrictions to the free version make it impractical to use and the price for the full version is in my opinion to steep for a private person. 

Kind regards,
JeRoen




TonyM

unread,
Jun 1, 2019, 8:42:06 PM6/1/19
to TiddlyWiki
JeRoen,

I can help you with most of the above, I am half way through developing a drop link method, which I will share today Sydney time.

But the community is well developed so let us see what others suggest.

I belive we can do it all with tiddlywiki.

Regards
Tony

TonyM

unread,
Jun 1, 2019, 9:36:37 PM6/1/19
to TiddlyWiki
JeRoen,

The First tip is create a tiddler than lists the links you want. tag it with 

$:/tags/SideBarSegment or 

$:/tags/SideBar


Personally if you are going to have a lot of links I think this use of the sidebar will prove to be inadequate.  In your case It may be nice to associate multiple links to one Tiddler so perhaps open that tiddler eg project name then have a tiddler Tagged 

$:/tags/ViewTemplate find and display all the links fonnd in fields of the project tiddler.


Regards

Tony

jeroen ophetweb

unread,
Jun 2, 2019, 2:21:07 AM6/2/19
to TiddlyWiki
Hello TonyM,

Thanks for the tip on $:/tags/SideBarSegment functionality. This is somewhat what I want to create. 

With the use of $:/tags/SideBarSegment the sidebar links are always the same. What I would like is that the $:/tags/SideBarSegment shows the links for the currently selected tiddler. This might be difficult as you can have multiple tiddlers visible in the Story.

I do not mind to add the linked tiddlers and resources to the tiddler text with some specific formatting that make the links within this specific formatting not show up in the tiddler text itself but in the sidebar. So each tiddler can have it own SideBar links and relations to different tiddlers and other resources. 

This would also make the rediscovery of knowledge easier and effortless and it also invites you to browse your knowledge base as you see different links to the tiddlers you are viewing. 

When some kind of relationshipname could be added that would be assume. Like the current new project tiddler show a link to for example JohnSmith with the relationship name 'projectleader'. These could be grouped together (the relationshipsname). 

Thanks for the tips, I will investigate some more. 

JeRoen

Op zondag 2 juni 2019 03:36:37 UTC+2 schreef TonyM:

Mat

unread,
Jun 2, 2019, 4:10:29 AM6/2/19
to TiddlyWiki

What I would like is that the $:/tags/SideBarSegment shows the links for the currently selected tiddler.

{{$:/HistoryList!!current-tiddler}}

 
I do not mind to add the linked tiddlers and resources to the tiddler text with some specific formatting that make the links within this specific formatting not show up in the tiddler text itself but in the sidebar.

Here's a rough version using the various filter operators that I guessed are relevant:

<$tiddler tiddler={{$:/HistoryList!!current-tiddler}}>
Backlinks:
<br>
{{{ [
<currentTiddler>backlinks[]] }}}

Contains
{{{ [
<currentTiddler>contains[]] }}}

...etc with similar filter for each of:
links
listed
tag
tagging
</$tiddler>


There is also a very new plugin from a fellow community memeber called Kin or Kinship or something like that. This might actually be what your'e looking for.


<:-)

Mat

unread,
Jun 2, 2019, 4:15:06 AM6/2/19
to TiddlyWiki
Add:

You might want to use the following instead of just the "triple curly" filter, for each operator:

<<list-links [<currentTiddler>backlinks[]] >>


<:-)

Mark S.

unread,
Jun 2, 2019, 4:15:22 PM6/2/19
to TiddlyWiki
Oh, so that's what history is used for. It let's you see the last tiddler you navigated to. I'm sure what someone is going to want is a way to click inside the tiddler and have that become the last-navigated tiddler. I guess a button could be added? The alternative is to edit and close the tiddler, forcing navigation.

Thanks!

jeroen ophetweb

unread,
Jun 3, 2019, 9:35:57 AM6/3/19
to TiddlyWiki
Thanks for all explanations ... 

My final script looks like this:

{{Used URL's}}


<$tiddler tiddler={{$:/HistoryList!!current-tiddler}}><br>


This tiddler is mentioned on:
<<list-links [<currentTiddler>backlinks[]] >>


This tiddler links to:
<<list-links [<currentTiddler>links[]] >>
</$tiddler>

The "Used URL's" is shown first and contains about 12 URL's I use a lot. Both links to tiddlers and also links to local files, networkshares and websites. This will probably grow to about 30-40 URL's. 

Below that the backlinks and links on the current tiddler are shown in a list. Especially the backlink I like as the links are off course shown in the TiddlerText but I like it to also see it as a comprehensive list. 

I gave it a tag $:/tags/SideBar so that it is always available as a tab in the sidebar. In the settings I set that tab to be the default tab. 

This for now gives me enough to start with although I think that in time I want to add links independently from backlinks and links but we cross that bridge when we get there. This post gives me a firm start to begin with. 

Thank you all. 

JeRoen

TonyM

unread,
Jun 3, 2019, 8:01:44 PM6/3/19
to TiddlyWiki
JeRoen,

Thanks for Sharing back. There is a thread that perhaps Mario will update in relation to focused tiddlers which may go further towards the functionality your are after, or perhaps even better.

Using a Toc to access tiddlers open them in the story river but under this proposed approach we get a Focused tiddler value we can use in a sidebar tab. It would be trivial to make a button on the view toolbar that also sets the focused tiddler on a click. As a result the focused tiddler would be the last you navigated to from a TOC or that which you nominate from the existing open ones. Further such a focus button could be transcluded in any list of tiddlers {{||focusbuttontiddler}} to permit a click to focus.

A little background. Since there are multiple Sidebar items and they are all displayed "continuously" the idea of currentTiddler in these is somewhat misleading. The fact is a tiddler displayed in the side bar does not have a currentTiddler value unless you create a list that filters and generates the currentTiddler value.

Place this in a tiddler tagged $:/tags/AboveStory  $:/tags/SideBar  and $:/tags/SideBarSegment 
\define notAboveStory()
Not Tagged $:/tags/AboveStory<br>
Shows how to do/display more as a result of an emptyMessage, 
by using a macro definition
\end
<h3>Test ~SideBar</h3>
Current Tiddler: "<<currentTiddler>>"<br>
Current Tab: "<<currentTab>>"<br>

<$list filter="[<currentTiddler>has[title]]" emptyMessage="No Current Tiddler available" variable=result>
  Displayed only in Story River
</$list>

<$list filter="[<currentTab>has[title]]" emptyMessage="No current Tab" variable=result>
  Displayed only in tabs
</$list>

<$tiddler tiddler="Test SideBar">
<$list filter="[tag[$:/tags/AboveStory]]" emptyMessage=<<notAboveStory>> variable=result>
  Displayed only When also tagged $:/tags/AboveStory
</$list>
</$tiddler>
to see what I mean

If you are building tiddlers for use in the side bar you can use the existence of $:/tags/SideBar  and $:/tags/SideBarSegment  along with testing <<currentTiddler>> and <<currentTab>>

Of note is if the tiddler is tagged $:/tags/AboveStory or another page related location the currentTiddler will also not be available so testing for the actual tag on the named tiddler may help differentiate those tiddlers that could appear anywhere, but because you have no currentTiddler use the tiddler command as above.

This should give you a lot to play with.

Regards
Tony
Reply all
Reply to author
Forward
0 new messages