On Monday, June 5, 2017 at 2:21:42 PM UTC-7, Jose Novo wrote:
>
> I have many tiddlers about one subject with the same tag (ie: lesson1) and 
> in the Lesson1 tiddler i've created a list field and I've hardtyped all the 
> tiddlers in the order that I want to navigate.
>
> Next: <$list filter="[is[current]next[Lesson1]]"/> / Previous: <$list 
> filter="[is[current]previous[Lesson1]]"/>
>
> This works perfect, but I would like don't have to hardtype every new 
> tiddler that I'll create with the tag Lesson1in the list filed, but If I 
> use the list widget or I create a macro and i put it in the field list 
> don't work.
>

Instead of using "next" and "previous" filters (which work on a list 
field), you might do better using "before" and "after" filters (which work 
on the current filter results)

Thus:

<$list filter="[tag[Lesson1]before<currentTiddler>]"/>
<$list filter="[tag[Lesson1]after<currentTiddler>]"/>

The filter first gets the titles of all tiddlers tagged with "Lesson1", and 
then returns only the title immediately preceding (or following) the 
current tiddler title.

The order of the titles returned by the tag[Lesson1] filter can be manually 
controlled by adding a "list" field to the Lesson1 tiddler (similar to what 
you were doing for the next/previous filters).  Any titles NOT included in 
that 'list' field are automatically appended to the end of the filter 
results, following the manually ordered titles.

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 [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/2958636d-5b4d-4cc4-9c5f-69ac6d20389e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to