tag pill options as DetailsWidgets

55 views
Skip to first unread message

Sapphireslinger

unread,
Apr 12, 2021, 11:14:41 AM4/12/21
to TiddlyWiki
I found out how to get tag pills into my DetailsWidgets list by copying the contents of $:/core/ui/ViewTemplate/tags. But when I click on a tag and then choose a tiddler to click on from the dropdown list, I would like to see the chosen tiddler open as a DetailsWidget not a separately opened tiddler. 

Any hints on how to modify what I've got below?

<$list filter="[tag[foo]!sort[created]]">
<$details summary={{!!title}}>

<$transclude field="text"  mode="block"/>

<$reveal type="nomatch" stateTitle=<<folded-state>> text="hide" tag="div" retain="yes" animate="yes">
<div class="tc-tags-wrapper"><$list filter="[all[current]tags[]sort[title]]" template="$:/core/ui/TagTemplate" storyview="pop"/></div>
</$reveal>

</$details>
</$list>

I was thinking about a permalink too when I suddenly realized I seem to be trying to pack the kitchen sink into a DetailsWidget. At some point I have to ask myself what is the difference then, between a DetailsWidget and my usual storyview.

But as this is for a blog, I expect a visitor would still need a permalink to link to a particular section so how would I stick a permalink in there? I tried <permalink><<permalink>> <<<permalink>>> and {{!!permalink}} but nothing showed up.
Reply all
Reply to author
Forward
0 new messages