Hi Richard

Nice :-)

How would you make it work with titles with more than one word?

Cheers Måns Mårtensson

Den tirsdag den 29. juli 2014 05.53.55 UTC+2 skrev Richard Smith:
>
> Hi Dave,
>
> I am trying to teach myself all the ins-and-outs of filters and things 
> like that at the moment so I thought I would have a play with your request.
>
> Although this is not exactly what you asked for, I wonder if it might 
> suffice?
>
> You can make a "tutorial" tiddler which has a list field containing the 
> names of the tiddlers for each section and a field called "current" which 
> holds the name of the current section. Then you ca have buttons that go 
> backwards/forwards/home by changing the value of the "current" field.
>
>
> list field: tut1sec1 tut1sec2 tut1sec3 etc.
> current field: tut1sec1
>
> <$list filter="[list[!!current]]">
>> Current slide: {{!!title}}
>> !{{!!title}}
>> {{}}
>> </$list>
>> ---
>> First Slide in Current Tutorial (Home)
>> <$list filter="[list[]] +[first[]]" variable="gotofirsttiddler">
>> <$button set="!!current" setTo=<<gotofirsttiddler>>>
>> <<gotofirsttiddler>>
>> </$button>
>> </$list>
>> ---
>> Previous Slide in Current Tutorial:
>> <$list filter="[list[]before{!!current}]" variable="gotoprevioustiddler">
>> <$button set="!!current" setTo=<<gotoprevioustiddler>>>
>> <<gotoprevioustiddler>>
>> </$button>
>> </$list>
>> ---
>> Next Slide in Current Tutorial:
>> <$list filter="[list[]after{!!current}]" variable="gotonexttiddler">
>> <$button set="!!current" setTo=<<gotonexttiddler>>>
>> <<gotonexttiddler>>
>> </$button>
>> </$list>
>> ---
>
>
> Regards,
> Richard 
>
> On Tuesday, July 29, 2014 1:24:27 AM UTC+10, David Gifford wrote:
>>
>> Hi guys
>>
>> I plan to do a few introductory tutorials for TW5, something like 
>> http://giffmex.org/TiddlyQuickly.html, but I need help designing a piece 
>> of the puzzle.
>>
>> I would like to have a setup tiddler for slideshows, tagged 
>> $:/tags/ViewTemplate, that displays arrows to the previous and next 
>> tiddlers in a list, and a home icon in the center that links to the first 
>> tiddler in the list.
>>
>> The list filters needed would grab the tiddler in the current tiddler's 
>> 'listed' tab of the info panel, and would then create links to the 
>> previous, first, and next tiddlers in the list of that tiddler. It would 
>> display those links as left arrow, home, and right arrow icons, and apply 
>> CSS to position them left, center and right, respectively.
>>
>> The list filter is the part that is beyond me. Figuring out TW list 
>> filters is like learning a foreign language to me. A foreign language with 
>> currently only a few native speakers and no introductory grammar textbook. 
>> So I would appreciate your help. :-)
>>
>> If someone can get me the list filter I need, I can try to pump out some 
>> simple tutorials for TW5 before the full release. Thank you all, and 
>> blessings!
>>
>

-- 
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.

Reply via email to