I love the Freelinks plugin, thank you!
However, I often modify the colour of my tags, which therefore generates tiddlers for each of those new-colour tags… and they are then considered as potential links via the Freelinks plugin. Is there any way to use a filter in the settings of Freelinks to exclude those specific tag-tiddlers or is there no way to identify them?
Thank you!
Have a look in the read me tab, of the Freelinks plugin. You can at least wrap content in a variable to control it. Perhaps a filter like [<currentTiddler>!is[tag]]. It looks like if you put this set in the $:/plugins/tiddlywiki/freelinks/macros/view tiddler, it will apply to all tiddlers.
What are “modified tags”?
Thank you! By “modified”, I simply meant modifying the default colour of the tag, which then generates its own tag tiddler to store the colour. That in turn makes all those tag-tiddlers found by Freelinks. Does that make sense? Sorry if I didn’t express myself correctly.
I tried adding this set <$set name="tv-freelinks" value={{{ [<currentTiddler>!is[tag]then[yes]else[no]] }}}/> within $:/plugins/tiddlywiki/freelinks/macros/view but it didn’t seem to work. I also tried <$set name="tv-freelinks" value={{{ [<currentTiddler>!is[tag]] }}}/> but same thing.
For reference, this is how the shadow tiddler looks like:
> <$set name="tv-freelinks" value={{$:/config/Freelinks/Enable}}>
>
> <$set name="tv-freelinks-ignore-case" value={{$:/config/Freelinks/IgnoreCase}}/>
>
> <$set name="tv-freelinks" value={{{ [<currentTiddler>!is[tag]then[yes]else[no]] }}}/>
>
> </$set>
Thank you!
I don’t use Freelinks myself so I can’t test it easily, but following the directions in this old thread, try adding the filter [!is[tag]] in the plugin’s Settings tab.
1 Like
That worked. Can’t believe it was that simple. Thank you very much!!
Just to help, the correct terminology is “tag tiddler”, it is a tiddler that represents any tag you create but you do not need to create them (you can manually) however a number of actions do modify the tag tiddler, and when they do this, they have to create the tiddler first. For example;
- Assigning the color (creates the color field) as you discovered
- Using the tag pill to drag and drop reorder the items (creates the list field)
There may be more ways;
Tags tiddlers are useful for;
- Setting color or order as above
- Document the tags use an meaning in text or description fields
- To list tiddlers tagged with this tag
I am also developing features such as a condition field, that contains a filter to determine when the tag pill is displayed, which would also create the tag tiddler if it does not exist.
- Simply setting a field in a missing tiddler is sufficient to create that tiddler, if it does not exist. Be it a “tag tiddler” or otherwise.
1 Like
Oh cool, thank you so much for the detailed explanation (and apologies again for the wrong terminology).
No need to apologise @aussietw it takes time to learn the terminology, and we have plenty of new users here, so just ask a way and learn from the corrections.
I assume, you are an Aussie like me?