Quick dump more tomorrow
$:/config/relatedTiddlers
Contains show or hide
Macro tiddler
'
\define Related()
<$set name=result value={{!!relatedTiddlers}}
emptyValue={{$:/config/relatedTiddlers}}>
<<result>>
</$set>
\end
In a tiddler or view template <<Related>> will return the global setting in
$:/config/relatedTiddlers unless the field on the current tiddler
relatedTiddlers overrides the global.
E.g.
<$list filter="[<showRelated>match[show]]" variable=nul>
Insert your code here to show
</$list>
then provide the ability to toggle the value show or hide in
$:/config/relatedTiddlers or the field relatedTiddlers on the current tiddler
including the ability to delete relatedTiddlers on the current tiddler to
revert to global setting.
Does that make sense?
tony
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/c01cbe96-0fd9-484a-b71f-fc5a72f52614%40googlegroups.com.