Hi Alain
In 5.0.11 you'll be able to use the new before/after filter operators to do
what you want. This example adapts your filter expression and then selects
the tiddler after "HelloThere":
[tag[thestory]!is[system]has[_date]sort[_date]after[HelloThere]]
This example selects the tiddler before the current one:
[tag[thestory]!is[system]has[_date]sort[_date]before{!!title}]
Best wishes
Jeremy
On Tue, May 6, 2014 at 9:05 AM, Alain Dutech <[email protected]> wrote:
>
> Hi,
>
> I know that TW is "non-linear" but I'd like to automate some "linearity"
> :o)
> So, more clearly :
>
> I have some tiddlers telling a (linear) story and I order them according
> to a custom field (let's call it "_date"). I'd like to have, in any of
> these tiddlers, a link to the preceding one and to the next one, according
> to the order induced by _date. How could I do this ?
>
> I can have an ordered list of all the tidler using filters and I thought I
> could extract from this list the "previous" tiddler
> {{{ [tag[thestory]!is[system]] +[has[_date]] +[sort[_date]] }}}
>
> Using the "previous" operator, I thought I could extract from this the
> preceding tiddler and use that in a <$link> <$view> LINK </$view></$link>
> block. But the previous operator needs the list to be in the "ListField" of
> a tiddler I think.
>
> So 1) how can I set/update the ListField of a tiddler from another tiddler
> macro (if I add a new tiddler between two others, I need to update this
> list)
> 2) is there a better way to do this, I mean "how would YOU
> automatically update such prev/next links" ?
>
> Thanks a lot, for the good work on TW5, but also if you hav some feedback
> for me :o)
> Alain
>
> --
> 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 http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>
--
Jeremy Ruston
mailto:[email protected]
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.