Hi Steve,

Where's your *"a tiddler is a tag is a tiddler"* when you need it? ;-)

Hegart.


On Saturday, 20 February 2016 10:26:14 UTC+13, Steven Schneider wrote:
>
>
> I suspect the problem Hegart is having here is the same as I just wrote 
> the group about. We are trying to use the tag as the list. In 
> Hegart's, <<list-links filter:"[list[References]]">> returns an empty list; 
> he was hoping to move to the next tiddler in <<list-links 
> filter:"[tag[References]]">>. So, how do we get that list into the 
> next/previous filters?
>
> //steve.
>
>
> On Friday, February 19, 2016 at 3:45:25 PM UTC-5, Hegart Dmishiv wrote:
>>
>> Hi Eric,
>>
>> I just tried using this as well, in my own {{DesignWrite}} exercise, and 
>> couldn't get it to work either, even following your example code above. 
>> I've used it on just this one tiddler 
>> <https://dl.dropboxusercontent.com/s/wco3fcvaj1mweqt/inclusivity.html#Oliver%2C%20M.%20%282013%29%20The%20social%20model%20of%20disability.>
>>  
>> so far, but I intend to use it in a ViewTemplate later. Here's my code:
>>
>> <<list-links filter:"[{!!title}next[References]]">>
>>
>> Any idea why this isn't working? That tiddler is tagged with  References , 
>> and there are two other tiddlers also tagged in the same collection / set. 
>> A standard *<$list filter="[tag[References]">* filtered list sees them 
>> all.
>>
>> Hegart.
>>
>>
>> On Friday, 19 February 2016 11:36:38 UTC+13, Eric Shulman wrote:
>>>
>>> On Thursday, February 18, 2016 at 2:13:09 PM UTC-8, stevesuny wrote:
>>>>
>>>> I am exploring the use of the next operator, and want to build "next" 
>>>> and "previous" buttons using tag lists etc.
>>>>
>>>> Putting this code in the Tuesday tiddler http://tiddlywiki.com/#Tuesday
>>>> in Tiddlywiki.com the first line returns "Wednesday"  and the second, 
>>>> nothing.
>>>>
>>>> 1 <<list-links filter:"[[Tuesday]next[Days of the Week]]">>
>>>> 2 <<list-links filter:"[[{{!!title}}]next[Days of the Week]]">>
>>>>
>>>> I have trouble with syntax getting the {{!!title}} to work when 
>>>> embedded in code like this. What am I missing?
>>>>
>>>
>>> You have too many brackets and braces... within filter syntax, there are 
>>> three ways to specify a value, using brackets, chevrons and braces, like 
>>> this: 
>>>
>>> [Tuesday] is a constant literal text value
>>> <variable> retrieves the value of a variable currently in scope
>>> {TextReference} retrieves the value from a text reference 
>>>
>>> Think of the brackets, chevrons and braces as different kinds of quotes 
>>> that indicate how the enclosed content should be handled.  This is similar 
>>> to the way wikitext syntax uses [[...]] for literal links, 
>>> {{TextReference}} for transclusion, and <<macroname>> for variables/macros. 
>>>  Note however that the filter syntax uses *single* brackets, chevrons, and 
>>> braces, while the wikitext syntax uses *doubled* brackets, chevrons, and 
>>> braces.
>>>
>>> Thus, starting with your first example:
>>> <<list-links filter:"[[Tuesday]next[Days of the Week]]">>
>>>
>>> replace the [Tuesday] with {!!title} to use a TextReference to the title 
>>> of the current tiddler:
>>> <<list-links filter:"[{!!title}next[Days of the Week]]">>
>>>
>>> enjoy,
>>> -e
>>> Eric Shulman
>>> TiddlyTools / ELS Design Studios
>>> 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 [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/2aeba15c-6725-4e96-bf22-2fcfe9dac6cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to