Way to prevent closing home tiddler?

94 views
Skip to first unread message

Paul P

unread,
Jul 4, 2020, 12:40:46 PM7/4/20
to TiddlyWiki
Is there a way to prevent users from closing the home tiddler? For most people unfamiliar with the more obscure navigation options, this puts them into nowhere land, especially when using the read-only plugin.

For example, close enough tiddlers on tiddlywiki.com and it is easy for a non-technical user to get stuck and give up.

Reference: http://tw5readonly.tiddlyspot.com

Mat

unread,
Jul 4, 2020, 12:51:50 PM7/4/20
to TiddlyWiki
You can tag it $:/tags/AboveStory

Might want some additional styling.

<:-)

Birthe C

unread,
Jul 4, 2020, 12:59:57 PM7/4/20
to TiddlyWiki
Hi Paul.

Create a tiddler witth the title $:/config/EmptyStoryMessage in that tiddler you insert:

{{YourTiddlerTitle||$:/core/ui/ViewTemplate}}

When the story is empty, your tiddler will show.

https://tiddlywiki.com/#HistoryMechanism


Birthe

Mat

unread,
Jul 4, 2020, 1:16:57 PM7/4/20
to TiddlyWiki
Mat wrote:
You can tag it $:/tags/AboveStory

Follow up:

There's also BelowStory which might be less intrusive.

And the following shows up only if the storyriver is empty:

Add this tiddler on tiddlywiki.com and see how it behaves:

title: whatever
tags
: $:/tags/PageTemplate
text
:
<$list filter="[list[$:/StoryList]count[]match[0]]">
<$transclude tiddler=HelloThere mode=block/>
</$list>

<:-)

Saq Imtiaz

unread,
Jul 4, 2020, 2:00:56 PM7/4/20
to TiddlyWiki

Diego Mesa

unread,
Jul 4, 2020, 6:18:47 PM7/4/20
to TiddlyWiki
Just want to point out the great Tobi Beer who uses a different technique to have an always visible home tiddler on his page:

Birthe C

unread,
Jul 4, 2020, 6:28:31 PM7/4/20
to TiddlyWiki
Diego,

Tobias Beer uses $:/config/EmptyStoryMessage


Birthe

Eric Shulman

unread,
Jul 5, 2020, 4:58:29 AM7/5/20
to TiddlyWiki
On Saturday, July 4, 2020 at 3:28:31 PM UTC-7, Birthe C wrote:
Tobias Beer uses $:/config/EmptyStoryMessage

It should be noted that the $:/config/EmptyStoryMessage method does allow the "home" tiddler to be closed, and only forces it to reappear if the story is completely empty.

In contrast the $:/tags/AboveStory (or $:/tags/BelowStory) method ensures that the "home" tiddler contents will *always* be displayed.

-e

TW Tones

unread,
Jul 5, 2020, 7:42:54 AM7/5/20
to TiddlyWiki
Personaly I like the empty storage message

It can even just contain a message like.

You have closed all tiddlers/screens .. Click home icon to return home.

Regards tony

Reply all
Reply to author
Forward
0 new messages