Using the macro below I get the following text when I set the field
"jobitemsskilltags"
to "[title[sql]][title[windows-7]]"
- programming-lang
- sql
- windows-7
- os
- sql
- windows-7
It works pretty good..but I'd like only the titles of skills tagged with os
to show up under os...and only the skills tagged with programming-lang to
show up under programming-lang for instance:
- programming-lang
- sql
- os
- windows-7
\define showSkillParent()
$(dasSkillsCompanyIsLookingFor)$
<hr/>
$(dasJobItemSkillsTags)$<br/>
[title[sql]][title[windows-7]]
<ul>
<!-- BEGIN: Get a list of skill-categories. -->
<$list filter=
"$(dasJobItemSkillsTags)$+[tags[]tag[skill-cat]]+[tagging[]]+[tags[]tag[skill-cat]]"
>
<li><$view field="title"/>
<ul>
<$list filter=
"$(dasJobItemSkillsTags)$+[tags[]tag[skill-cat]]+[tagging[]]+[tags[]tag[skill-cat]]+$(dasJobItemSkillsTags)$"
>
<li>
<$view field="title"/>
</li>
</$list>
</ul>
</li>
</$list>
<!-- END: Get a list of skill-categories. -->
</ul>
\end
<$vars dasJobItemSkillsTags={{!!jobitemsskilltags}}
dasSkillsCompanyIsLookingFor={{!!skillscompanyislookingforfilter}}>
<<showSkillParent>>
</$vars>
I think this has something to do with the nested $list's filter which
reads:
"
$(dasJobItemSkillsTags)$+[tags[]tag[skill-cat]]+[tagging[]]+[tags[]tag[skill-cat]]+$(dasJobItemSkillsTags)$
"
but I'm not sure how to filter it down to JUST the skills that are in that
category.
P.S. And yes, I am aware of the TOC macro thank you.
Thank you,
Andrew J. Leer
--
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 post to this group, send email to [email protected].
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/3153c0c8-6406-4409-ba77-a7bf7f72fb4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.