The TWCore currently has 14 shadow tiddlers containing pre-defined filters. Each shadow tiddler is tagged with $:/tags/Filter
, and contains a filter
field (the saved filter syntax) and a description
field (the text to show in the $:/AdvancedSearch > Filter
dropdown list).
To make it easy to add filters to the dropdown list, add TiddlyTools/Search/SaveFilter to your TiddlyWiki. This tiddler is tagged with $:/tags/AdvancedSearch/FilterButton
, which adds it to the other buttons that appear next to the $:/AdvancedSearch > Filter
input field.
When you press the save filter button, it displays a popup for you to enter a tiddler name, edit the current search filter syntax, and add description text. By default, filters are saved with a prefix of $:/config/TiddlyTools/Filter/...
, but you can edit TiddlyTools/Search/SaveFilter to change the config()
definition to any other location you prefer.
enjoy,
-e