Ah, Jed's reply arrived a second before mine - go with his suggestion!

On Monday, 28 November 2016 20:29:33 UTC, Jon wrote:
>
> Hi,
>
> this gives a list of all tags and a count of each.
>
> <$list filter="[tags[]!is[system]sort[title]]">
> <$transclude tiddler="$:/core/ui/TagTemplate"/> <small 
> class="tc-menu-list-count"><$count 
> filter="[all[current]tagging[]]"/></small>
> </$list>
>
> I don't know if there's anything here you can adapt.
>
> Regards
> Jon
>
> On Monday, 28 November 2016 19:17:33 UTC, leeand00 wrote:
>>
>> \define thisList()
>> <!-- BEGIN: Loop Through a list of tiddlers matching $(thefilter)$ -->
>> <$list filter="$(thefilter)$">
>>   <!-- For Each Item...count the number of tiddlers tagged with it.. -->
>>   <$view field="title"/> - <$count filter=[tag[!!{{title}}]] /> <br/>
>> </$list>
>> \end
>>
>>
>> <$set name="thefilter" value={{!!dasfilter}}>
>> <<thisList>>
>> </$set>
>>
>>
>> Is it possible to do this?  The part that really has me confused is how 
>> to get a <$count> that will count the number of tiddlers tagged with the 
>> current tag.
>>
>> As for the data, lets say I had the following:
>>
>> tiddler tags: red, blue, green
>> tiddler: tags
>>
>> apple: tags: red, green
>> water: tags: blue
>> sky: tags: blue
>> ball: red, blue, green
>> grass: tags: grass
>>
>> Then it would output:
>>
>> red - 2
>> blue - 3
>> green - 3
>>
>> I just want to count how many tiddlers within a specific set of tags are 
>> tagged with that tag.  But I don't want ALL OF THEM like in the tag manager.
>>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fb6ba2f5-1342-4d4b-af4f-26659f93f936%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to