Okay I fixed that bit...but it still isn't working the way that the first 
example does...is it because they're all sort-of in the same tiddler?  Am I 
losing it in scope or something?  Should I attach the field to a different 
tiddler?

On Tuesday, 20 September 2016 14:19:54 UTC-4, leeand00 wrote:
>
> I figured out how to filter through a list using a field and <$edit-text>, 
> but now I want to do the same thing using a template.
>
> Here is my working non-template example:
>
>
> Tiddler Title: blah1
> \define thisList()
>
> <$list filter="[{!!title}tagging[]$(thefilter)$]">
> <ul>
> <li><$transclude/></li>
> </ul>
> </$list>
> \end 
>
> <$set name="thefilter" value={{!!dasfilter}}>
> <<thisList>>
> </$set>
>
> field: dasfilter: tag[blah2]
>
>
> In another tiddler..and when I type in this the list in blah1
> updates to reflect the changes....because of this:
>
> TagFilter <$edit-text tiddler="blah1" field="dasfilter"/>
>
> ---
>
> Now I have an existing template and sub template such as follows where I'm 
> trying to do the same thing:
>
> Tiddler Title: meTemplate
> Company: <$view field="company"/><br/>: 
> Title: <$view field="title"/><br/>
> Time Period: <$view field="startdate"/>-<$view field="enddate"/> <br/>
> Location: <$view field="location"/> <br/>
>
> ~TagFilter: <$edit-text tiddler="DutiesFiltered" field="dasfilter"/>
>
> {{!!title||DutiesFiltered}}
>
>
>
> Tiddler Title: DutiesFiltered
> \define showDuty()
> <ul>
> <$list filter="[{!!title}tagging[]$(thefilter)$]">
> <li><$transclude/></li>
> </$list>
> </ul>
>
> \end
>
> <$set name="thefilter" value={{!!dasfilter}}>
> <<showDuty>>
> </$set>
>
>
> field: dasfilter: tag[people-skills]
>
> ...and then to use both templates I'll use a tiddler like:
>
> Tiddler Title: SeveralOfThese
> {{!!title||meTemplate}}
> field: company: Someplace
> field: enddate: somedate
> field: jobtitle: somejob
> field: location: someplace
> field: startdate: someotherdate
>
> But I don't seem to be able to replicate the functionality of adding 
> tag[sometag]tag[someothertag] to my searchbox so that I can find only the 
> duties I'm looking for in the template / sub template.
>
> Is there some way of doing this?
>
> 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 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/a19cec4e-bed8-46c4-81e0-45f11e21ad52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to