Thanks Aidan for sharing this!
My question is do you intentionally show the meta tags on all tiddler even
they have not that tags?
--Mohammad
On Sunday, July 21, 2019 at 7:09:09 AM UTC+4:30, Aidan Grey wrote:
>
> Hello all,
>
> With various people's help (especially Mark S's), I have accomplished my
> goals, and I thought I should share it all for all the others who wanted to
> do something similar:
>
>
> GOALS:
> 1. Filter out some tags, so they don't show up in any tiddler's tag
> wrapper.
> 2. Define some meta tags in a similar way
> 3. have the meta tags appear on the right (as opposed to the left for most
> tags, in Vanilla theme)
>
> Here's how I did it:
>
> 1. Create a tiddler called ignore. Its contents are solely the tags I
> don't want to see, as a list with spaces. e.g. : work [[The Thing]] time
> orphan ignore fix
> 2. Create another tiddler called meta, with the tags you want to see in
> the "meta zone". E.g. work fix
> 3. In $:/core/ui/ViewTemplate/tags, edit the code as below.
> 4. I wanted the meta tags to be a different color too - easiest way was to
> just change the color of each meta tag in the Tag Manager.
>
> Hope this is helpful to someone else!
>
> <$reveal type="nomatch" stateTitle=<<folded-state>> text="hide" tag="div"
> retain="yes" animate="yes" >
>
> <div class="tc-tags-wrapper">
>
> <span style="float:left;">
> <$list
> filter="[all[current]tags[]!subfilter{ignore}sort[title]] "
> template="$:/core/ui/TagTemplate" storyview="pop"/>
> </span>
>
> <span style="display:inline-block;float:right;">
> <$list
> filter="[all[current]tags[]subfilter{meta}sort[title]] "
> template="$:/core/ui/TagTemplate" storyview="pop"/>
> </span>
>
> </div>
>
> </$reveal>
>
>
--
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/252a6ba7-a403-49ad-8f1e-39871780ed87%40googlegroups.com.