The next and previous filters that David wrote are now in the core, and so
are available to use.

They work in association with the 'list' field, which is interpreted as a
space-separated list of tiddler titles (using double square brackets to
quote titles that contain a space). The next and previous filters both work
in a similar way that's easiest to show with an example.

Let's say you have a tiddler called "Lesson1" with the "list" field set to:

[[First Bit]] SecondBit FinalBit

You'll also need to create the named tiddlers.

Then, create a new tiddler called "Navigation" with the tag
"$:/tags/ViewTemplate" and the following content:

Next: <$list filter="[is[current]next[Lesson1]]"/> / Previous: <$list
filter="[is[current]previous[Lesson1]]"/>

Now if you open a tiddler like "SecondBit" you should see at the bottom the
controls to move to the next and previous tiddlers.

The next and previous filter operators work by locating the currently
selected tiddler(s) in the named list, and returning the adjacent next or
previous tiddler from the list.

Best wishes

Jeremy.





On Thu, Nov 28, 2013 at 3:44 PM, James Weaver <james.l.wea...@gmail.com>wrote:

> Thanks Mario!  I plan on attending the upcoming google hangout by the way.
>
> @David: I'm interested in your thoughts/plans on the subject, so please do
> reply.
>
> Thanks,
> Jim
>
>
> On Thursday, November 28, 2013 9:43:24 AM UTC-5, PMario wrote:
>>
>> On Thursday, November 28, 2013 2:53:24 AM UTC+1, James Weaver wrote:
>>>
>>> Thanks.  Being new to this, I'm not sure what the best next step to take
>>> to implement David's ideas.  For example, should I create a data twiddler
>>> that expresses the twiddlers that are in the desired path?
>>>
>>
>> You'll need to wait, until Daivd did adjust his plugins, so you can use
>> them with the latest TW5. But be aware, TW5 is close to beta, but there
>> will be some changes that _may_ cause some additional work on your side.
>> ....
>>
>> Tagging will be used to create the lists, that should be a "story". The
>> internal list field will be used to sort them in the order you need it. So
>> you may get a "next/previous" button and the other cool stuff David
>> mentioned in his intro viedeos.
>>
>> I don't know if David Johnston is listening here?!
>>
>> -mario
>>
>  --
> 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 http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to