List fields may look like a series of links, but actually each element in
the list is the name of the tiddler (no |description). So your list inside
"myfield" might look like:
[[Learning]] [[HelloThere]]
and you can list them out like:
<$list filter=[enlist{!!myfield}] />
To label them with some alternate text, you could add a caption or
description field to the tiddlers. Then your list might look like:
<$list filter="[enlist{!!myfield}]" >
<$link><$view field="description"/></$link><br/>
</$list>
(In general use descriptions for longer descriptions of a tiddler, and
caption for short, button-friendly descriptions)
HTH
-- Mark
On Thursday, January 11, 2018 at 2:09:34 PM UTC-8, Don Eisele wrote:
>
> Well.. I spoke a little soon... Something still isn't processing right:
>
> <$list filter={{!!myfield}} />
>
> If the field looks like:
>
> [[display text|tiddler link1]]
> [[display text|tiddler link2]]
>
> It's displaying the entire text including "|" and the link, and also
> linking to a tiddler with the entirety.
>
> Any thoughts?
>
>
> On Thursday, January 11, 2018 at 3:01:26 PM UTC-6, Don Eisele wrote:
>>
>> The error you pointed out was just me transcribing to the post.. no beans
>> there.
>>
>> However, from your suggestion, I figured out how to use list fields, and
>> they will do what I want :)
>>
>> Just a different way of thinking than I am used to for programming, had
>> to wrap my head around it.
>>
>> Thanks!
>>
>>
>> On Thursday, January 11, 2018 at 2:07:16 PM UTC-6, Mark S. wrote:
>>>
>>> You might just consider using list fields, rather than splitting by some
>>> token. That way you maintain continuity with the core TW. But that's just
>>> my view point.
>>>
>>> If Tobias' filter works like other filters, then you have an error. It
>>> should be:
>>>
>>> <$list filter="[{!!myfield}split[;]]"/>
>>>
>>> Notice the final closing square bracket.
>>>
>>> Good luck!
>>> -- Mark
>>>
>>> On Thursday, January 11, 2018 at 11:55:17 AM UTC-8, Don Eisele wrote:
>>>>
>>>> I'm trying to use fields to create a list, and am running into
>>>> troubles (I just started using TiddlyWiki last night).
>>>>
>>>>
>>>> I found this plugin which looks like it will do exactly what I want:
>>>>
>>>> http://tobibeer.github.io/tw5-plugins/#split
>>>>
>>>>
>>>> However, I still have trouble.
>>>>
>>>>
>>>> I'm trying to create a bullet list from a field, split upon a character
>>>> (let's say ";").
>>>>
>>>> It seems like something like:
>>>> <$list filter="[{!!myfield}split[;]"/>
>>>>
>>>>
>>>> would do the trick, but I'm just not getting anything.
>>>>
>>>> I've tried a ton of combinations to no avail.
>>>>
>>>>
>>>> If it's easier, a solution that involved multiple fields would be fine
>>>> too.
>>>> * {{!!myfield1}}
>>>> * {{!!myfield2}}
>>>> * {{!!myfield3}}
>>>>
>>>>
>>>> but open ended so I could just use myfield*
>>>>
>>>> One other thing I noticed is in the examples the plugin lists a lot of:
>>>> {{{ ..... }}}}
>>>>
>>>>
>>>> Sometimes I'm getting things from those examples, others not. I
>>>> didn't find in the documentation on how to use that construct. I'm
>>>> thinking maybe if it's an array I'm getting no output, but I'm not sure.
>>>>
>>>>
--
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/2eeedb6a-3c81-4d12-be39-a32a61887156%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.