I am attempting to copy the $:/TagManager tiddler and tweak it to work for
user defined fields instead.
I was able to hack my way through to get a table of all fields but I am not
able to understand how to
- Get the accurate count of tiddlers which have that field (just like
TagManager)
- A clickable list of all tiddlers which have that field (just like
TagManager)
I am not sure if this is even achievable. Has anyone tried it and got it to
work?
Here is the way, which is most likely incorrect, by which I was able to get
the list of fields shown.
<table class="tc-tag-manager-table">
<tbody>
<tr>
<th class="tc-tag-manager-tag">Component</th>
<th>Count</th>
</tr>
<$list filter="[each[component]get[component]!is[system]sort[]]">
<tr>
<td>{{||$:/nikhil/FieldTemplate}}</td>
<td><$count filter="[all[current|tagging[]]]"/></td>
</tr>
</$list>
</tbody>
</table>
--
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/80eb965b-3425-4762-a639-9e153c9bfc56n%40googlegroups.com.