Any chance for a single-tiddler story "river"?

122 views
Skip to first unread message

TheDiveO

unread,
Feb 8, 2018, 12:06:18 PM2/8/18
to TiddlyWikiDev
Is there any chance for a single-tiddler story river, where only one tiddler is shown in the river?

BJ

unread,
Feb 8, 2018, 1:10:49 PM2/8/18
to TiddlyWikiDev
you can hack the  $:/core/ui/PageTemplate tiddler to do this by the 'close all other tiddlers' message.

add this link catcher widget under the navigate widget like so


<$linkcatcher message="tm-navigate"  actions=<<closeother>>>
<$dropzone>

<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageTemplate]!has[draft.of]]" variable="listItem">

<$transclude tiddler=<<listItem>>/>

</$list>

</$dropzone>
</$linkcatcher>


and add  this definition at the top:

\define closeother()
<$action-sendmessage $message="tm-close-other-tiddlers" $param=<<navigateTo>>/>
\end

all the best
BJ

Riz

unread,
Feb 9, 2018, 1:18:06 AM2/9/18
to tiddly...@googlegroups.com
Is there a problem with using zoomin storyview?

You can also change the main filter in $:/core/ui/PageTemplate/story to [list[$:/StoryList]limit[1]]

TheDiveO

unread,
Feb 9, 2018, 2:37:15 AM2/9/18
to TiddlyWikiDev
No, this does not work correctly. The reason is that there are still the tiddlers in the rivers, thus breaking navigation. I tried this and this suggestion does not work.

PMario

unread,
Feb 9, 2018, 4:49:17 AM2/9/18
to TiddlyWikiDev
Hi,

Have a look at: RightSidebar: Tools: Storyview: zooming

-m

TheDiveO

unread,
Feb 9, 2018, 5:56:27 AM2/9/18
to TiddlyWikiDev
The storyview is only a tiny part of the overall picture, as the storyview handles the view, but not the river. navigation happens on the river. So please, can we stay on the topic on how to get a working story river with navigation that only has a single tiddler open at any time? I will try BJ's suggestion later, as it seems to make much sense. Thank you.

TheDiveO

unread,
Feb 9, 2018, 7:31:24 AM2/9/18
to TiddlyWikiDev
Thank you very much, BJ! That works as advertised. Now I'm wrapping this in a conditional so I can run the wiki either in development or "readonly" single tiddler view.

Best regards,
TheDiveO
Reply all
Reply to author
Forward
0 new messages