Hi Jeremy,
If you don't mind, I have a bit of interest in documentation. When you say
you looked at support pages, what sites or pages did you look at?
Thanks!
Mark
On Thursday, January 5, 2017 at 3:46:22 PM UTC-8, Jeremy Wheeler wrote:
>
> Thank you Mark and, yes, that works.
>
>
> Jeremy.
>
> On Thursday, 5 January 2017 22:58:51 UTC, Mark S. wrote:
>>
>> This seems to do it:
>>
>> <$list filter="[tag{!!tag-required}sort[title]]">
>> <$link to={{!!title}}><$view field="title"/></$link> <$view
>> field={{language!!language}}/><br/>
>> </$list>
>>
>>
>> Note that you can use a transcluded field inside a filter by substituting
>> single curly brackets for the inner square brackets.
>>
>> HTH
>> Mark
>>
>>
>> On Thursday, January 5, 2017 at 2:44:45 PM UTC-8, Jeremy Wheeler wrote:
>>>
>>>
>>> I’ve just installed tiddlywiki and I’m loving it. I’ve started a project
>>> I’ve been meaning to tackle for years...
>>>
>>> ... but I’m stuck. In some fine-tuning I want to filter the input to a
>>> list using one of the Tiddler’s field values (tag-required) but I can’t see
>>> how to do it.
>>>
>>> In the following example (from a macro) I can //display// the field
>>> value and I can //filter// using currentTiddler...
>>>
>>> ```
>>> {{!!tag-required}}
>>>
>>> <$list filter="[tag[$(currentTiddler)$]sort[title]]">
>>> <$link to={{!!title}}><$view field="title"/></$link> <$view
>>> field={{language!!language}}/><br>
>>> </$list>
>>> ```
>>> ... but I want to filter on the value of tag-required. Crudely speaking,
>>> I want to replace...
>>>
>>> ```
>>> $(currentTiddler)$
>>> ```
>>> ... in the filter by...
>>>
>>> ```
>>> {{!!tag-required}}
>>>
>>> ```
>>> ... but I can’t find the syntax to do it. I’ve tried support pages and
>>> guesswork but I’ve not found the answer. Have I overlooked the obvious or
>>> am I barking up the wrong tree?
>>>
>>
--
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/e9056c15-0e29-454d-a04e-e6d91fc9aead%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.