How to make "bookmark" icon in the tiddler?

117 views
Skip to first unread message

kvg0...@gmail.com

unread,
Oct 22, 2018, 3:30:19 AM10/22/18
to TiddlyWiki
For example I press "start" icon and tiddler is added to the list of defaults tiddlers and also special tag appended.

TonyM

unread,
Oct 22, 2018, 7:59:59 AM10/22/18
to TiddlyWiki
I or someone can give you a better answer soon, but you need to look at tiddlywiki.com to learn how to creat a button then an action to set a tag.

Since default tiddlers are tiddler titles typed into $:/DefaultTiddlers there is no strait forward way.


Here is an untested idea, You could add to $:/DefaultTiddlers the following

<$list filter="[tag[$:/DefaultTiddlers]]">

</$list>

Then using another action in your button to add the tag $:/DefaultTiddlers to any tiddler you want in default tiddlers. When default tiddlers are loaded it should also load every tiddler also tagged $:/DefaultTiddlers

Regards
Tony

kvg0...@gmail.com

unread,
Oct 22, 2018, 9:33:32 AM10/22/18
to tiddl...@googlegroups.com

<$list filter="[tag[$:/DefaultTiddlers]]">

</$list>


Partially works. It loads tiddlers which rendered by list macros, but also renders "unexisted" tiddlers of the macros syntax e.g

<$list

filter="

">

TonyM

unread,
Oct 22, 2018, 6:52:16 PM10/22/18
to TiddlyWiki
Ahh, Testing is always helpful.

Just include the filter in the list of default tiddlers rather than the actual list eg; [tag[$:/DefaultTiddlers]] 

the startup process is treating the content of default tiddlers differently to other cases we see, another example of this is using default tiddlers to retain story order [list[$:/StoryList]] as below in settings.

regards
Tony

kvg0...@gmail.com

unread,
Oct 23, 2018, 1:46:11 AM10/23/18
to tiddl...@googlegroups.com
I created tiddler StoryList with content:

<$list filter="[tag[$:/DefaultTiddlers]]">

</$list>


Then try to transclude rendered result to default tiddler:


{{StoryList}}


No result.


But if to add to defaultTiddlers just


[tag[$:/DefaultTiddlers]]


Works fine. Thank you!

Reply all
Reply to author
Forward
0 new messages