LaCava Research Wiki

Initiated September 2017

Creating SubStories

jlacava10th January 2020 at 11:15am

There is a problem with this feature - all substories show up in every Tiddler that carries this code - it needs to be edited that ONLY substories opened in the particular Tiddler are shown in THAT Tiddler, and not in others.

This example shows how to create a sub-story within a tiddler that is independent of the main story.

Here's the code:

<$navigator story="MySubStoryList" history="MySubHistoryList">

Click this link to get started: HelloThere

<$list filter="[list[MySubStoryList]]" history="MySubHistoryList">
<div>

! <$button message="tm-close-tiddler" class="tc-btn-invisible">{{$:/core/images/close-button}}</$button> <$view field="title"/>

<$transclude mode=block/>
</div>
</$list>

</$navigator>