Checkbox Tagging with a transclusion

101 views
Skip to first unread message

Aidan Grey

unread,
Sep 5, 2019, 11:46:42 AM9/5/19
to TiddlyWiki
Hey all,

Don't know if this is possible - can anyone educate me? Is there a better way for me to to do this?

---

User case: I am sorting a huge list of items into 50+ categories, where each item in the list can belong to multiple categories. I will need to add additional categories as I go. In the end, I want to be able to pick a category tiddler, and list all the items that are tagged with it.

What I want to do is transclude a tiddler with the checkboxes, so I can update the category checkboxes in one place. The checkboxes in the transclusion should toggle only the tags on the tiddler that is transcluding. So, for example:

Tiddler: Categories - has checkboxes tied to tags, with values like fruit, vegetable, meat, dairy, etc.
- if I add another checkbox/category, that new category will show up on all item tiddlers
- it will not be checked on any item unless I go back through the items again and check it myself

Tiddler: Apple 
- transcludes Categories
- when I click on fruit category / checkbox, tags Apple with fruit

Tiddler: Tomato
- transcludes Categories
- when I click on fruit category / checkbox, tags Tomato with fruit
- when I click on vegetable category / checkbox, also tags Tomato with vegetable

Tiddler: Mushroom
- transcludes Categories
- when I click on vegetable category / checkbox, tags Mushroom with vegetable
- I decide I want another category, so I go to Categories tiddler, and add a new checkbox for "umami"
-- come back to this tiddler, umami is now a visible item in my checkbox list, and I check it to tag this tiddler with "umami"

Tiddler Tomato
- go back here, and click umami checkbox

Tiddler: Fruit
- lists all the tiddlers tagged fruit (Apple, Tomato)

Tiddler: Vegetable
- lists all the tiddlers tagged vegetable (Tomato)

Tiddler: Umami
- lists all the tiddlers tagged umami (Mushroom, Tomato)

Mark S.

unread,
Sep 5, 2019, 2:14:24 PM9/5/19
to TiddlyWiki
Here's a small starter kit. Drag and drop into your (saved and backed-up) TW file.

Each item where you want to have a list appear needs to be tagged "categorylist". Then a list appears where you can click and tag from the categories available as tags in the "Categories" tiddler.

So, tomatoes are "umami" ?

Thanks!
Mark
categories-by-checkbox.json

Aidan Grey

unread,
Sep 5, 2019, 2:32:43 PM9/5/19
to tiddl...@googlegroups.com
Thanks Mark, I'll test tonight.

And yeah... Tomatoes are umami, especially as tomato paste.

--
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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8a616a53-e1cd-4a55-8b35-ced53b4ea8cd%40googlegroups.com.

Aidan Grey

unread,
Sep 5, 2019, 5:14:41 PM9/5/19
to TiddlyWiki
That works perfectly! Thanks Mark!

TonyM

unread,
Sep 5, 2019, 9:03:42 PM9/5/19
to TiddlyWiki
Aidan,

I would not be surprised it the umami is related to naturally occuring MSG, which a lot of alternative health people or those avoiding added MSG just don't get, a Healthy diet includes foods that contains natural MSG. Interestingly a lot of people who claim problems with MSG are possibly "reacting" to something completely different because when it is naturally occuring nothing happens. This also a case of watching out for the common "Natural Fallacy" where people claim a palpable difference between something sourced "naturally"  from the same thing "added artificially" when they are exactly the same thing. Of course artificial additives leave room for larger concentrations but often this is not the case. 

Regards
Tony
To unsubscribe from this group and stop receiving emails from it, send an email to tiddl...@googlegroups.com.

Aidan Grey

unread,
Sep 5, 2019, 11:15:04 PM9/5/19
to TiddlyWiki
Umami IS related to naturally occurring glutamates - it's LITERALLY the definition of umami. :)

And the whole "allergic to MSG" thing has been demonstrated false by MANY studies. The current theory for why is that it's thinly veiled racism (sometimes carried over into later generations).


To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f0a4b33f-af0e-494a-9cb8-afcd12661f4e%40googlegroups.com.

TonyM

unread,
Sep 6, 2019, 2:57:57 AM9/6/19
to TiddlyWiki
Great, we are in furious agreement then.

Tony


On Friday, September 6, 2019 at 1:15:04 PM UTC+10, Aidan Grey wrote:
Umami IS related to naturally occurring glutamates - it's LITERALLY the definition of umami. :)

And the whole "allergic to MSG" thing has been demonstrated false by MANY studies. The current theory for why is that it's thinly veiled racism (sometimes carried over into later generations).


Reply all
Reply to author
Forward
0 new messages