[tw5] Re: Display contents of tiddler as list

2018-04-12 Thread Craig Chandler
On Monday, 9 April 2018 15:43:41 UTC+9:30, Craig Chandler wrote:
>
> Hi, is it possible to display contents of a tiddler as a list, 
> specifically for use in a selection list
>
> ie. have a tiddler "Topic List"
>
> Topic 1
> Topic 2
> Topic 3
>
> Then in another tiddler be able to Select a topic with something like
>
> <$select field="Topic:">
> <$list filter={{Topic List}}>
> <$view field='title'/>
> 
> 
>
> (above code completely made up)
>
> Cheers
>

I played some more with this, the above will actually work with plain text, 
its just the white spaces that throw it off so the Topic list above gets 
displayed as
1
2
Topic
3

So either have to
1. Use links as Stephan suggested
2. Never uses white spaces in list options, eg. Topic_1
3. encase in quotes also works, eg. "Topic 1"
4. Use a plugin

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b9efb6f6-73ee-4e87-97bc-401dfaa8fa1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Display contents of tiddler as list

2018-04-09 Thread Craig Chandler

On Monday, 9 April 2018 16:05:04 UTC+9:30, Stephan Hradek wrote:
>
> You could also use my pick plugin  
> and use this in your select:
>
> <$select field="Topic:">
> <$list filter="[[Topic List]pick:text[(?gm)^(.+)$]]">
> <$view field='title'/>
> 
> 
>
>
>
Thanks Stephan, checked it out, very handy 

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/09ec42ec-dbc9-4ac1-ab1b-e8efc7e5cfe4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Display contents of tiddler as list

2018-04-09 Thread Stephan Hradek
You could also use my pick plugin  
and use this in your select:

<$select field="Topic:">
<$list filter="[[Topic List]pick:text[(?gm)^(.+)$]]">
<$view field='title'/>




-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/74fa4f07-139f-4ce2-81da-810fe43a0377%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Display contents of tiddler as list

2018-04-09 Thread Craig Chandler

On Monday, 9 April 2018 15:49:16 UTC+9:30, Stephan Hradek wrote:
>
> Yes if this is your Topic List:
>
> [[Topic 1]]
> [[Topic 2]]
> [[Topic 3]]
>
>
>
Ahh thanks, does that mean a plain text list can not be made to work? 

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9534eeb7-747b-473e-9784-b0c30371eea1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Display contents of tiddler as list

2018-04-09 Thread Stephan Hradek
Yes if this is your Topic List:

[[Topic 1]]
[[Topic 2]]
[[Topic 3]]


-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7430ccf1-8a5b-474e-9688-428c1bfa2710%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.