Hi,
I am tinkering a mod of Crazko’s Krystal-Plugin for a horizontal storyriver which turns this into a switchable layout.
The horizontal view is very good for sorting idea’s so it would be perfect to be able to sort them by drag and drop. I tried to implement this in the storyriver ($:/plugins/krystal/story) there.
But somehow the currentTiddler-Variable seems to be empty so that the actionTIddler always appears at the end.
Any ideas how to debug this?
Best wishes Jan
\define drop-actions()
<$action-listops $tiddler="$:/StoryList" $subfilter="+[insertbefore<actionTiddler>,<currentTiddler>]"/>
<$action-setfield $tiddler="test" text=<<currentTiddler>>/>
\end
\whitespace trim
<$droppable actions=<<drop-actions>> > >
<$draggable tiddler="actionTiddler">
<section class="tc-story-river krystalriver" style="height:100vh; overflow-y: hidden !important;">
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" template="$:/core/ui/StoryTiddlerTemplate" storyview={{$:/view}} emptyMessage={{$:/config/EmptyStoryMessage}}/>
</section>
</$draggable>
</$droppable>