On Tuesday, June 27, 2017 at 4:54:33 PM UTC-7, Fei-Ling Tseng wrote:

> I'm in the process of building the ultimate CV generator for the company I 
> work for.
> Just started using TiddlyWiki and am incredibly excited to utilize the 
> tagging system - a feature I've looked everywhere for.
>
> My current problem is this: I want to get a list of Tiddlers that are 
> indirectly related to the current Tiddler via tagging. The relationship:
>
>    - There is a Tiddler with the team member's name (John Doe) where I 
>    want a dynamic list of their Products and Awards to appear.
>    - There are Tiddlers with the name of the Product (Thingy) tagged with 
>    the team member's name.
>    - Then there are Tiddlers with the name of the Award (2017 Best 
>    Product in the World) tagged with the product name.
>    - Basically, I want all team members who worked on a Product to also 
>    get the corresponding Awards that are related to that Product.
>
> How would I go on about formulating this? I've tried to figure out where 
> to start but every example I've read up on only goes one relationship deep 
> - not two.
>

use nested <$list> widgets, like this:

<ul>
<$list filter="[tagged<currentTiddler>]" variable="product">
  <li><<product>></li>
  <ul>
  <$list filter=[tagged<product>]" variable="award">
    <li><<award>></li>
  </$list>
  </ul>
</$list>
</ul>

enjoy,

-e
Eric Shulman
TiddlyTools.com: "Small Tools for Big Ideas" (tm)
InsideTiddlyWiki: The Missing Manuals

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/1eb23223-a5b6-439a-8af7-7cecbbee4db6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to