Hi Richard
Sorry for the delay in responding. My wife and I went on a two day getaway
without the computer. :-)
Thank you for the snippet, it worked perfectly!
Dave
On Tue, Jul 26, 2016 at 9:37 AM, RichardWilliamSmith <
richardwilliamsm...@gmail.com> wrote:
> Hi Dave,
>
> I *think* you can
Hi Dave,
I *think* you can fix it by changing the filter in the view template
to [is[current]listed[article]]
(selects the current tiddler title and then looks for that title listed in
the article field of other tiddlers)
I had to fiddle for a bit to get it to work and it's bed time now, but
Yes, I will have multiple items in the article field. Hmmm
Dave
On Tue, Jul 26, 2016 at 8:53 AM, RichardWilliamSmith <
richardwilliamsm...@gmail.com> wrote:
> Hi Dave,
>
> It seems to be because of the [[ ]] brackets around the entry in the
> article field on the tiddler 2016-07-22 17:31:50 -
okay, this is working for others but not for me.
Here is the file it is not working in.
http://giffmex.org/experiments/7-22.html
Conpare the tiddler "Words", which shows the two tiddlers with that title
in their articles field, and the tiddler "Reading, notes on
\define List_Articles(article)
<$list filter="[field:article[$article$]]" variable="article_tiddler">
<$transclude tiddler=<> field="text" mode="block"/>
<$link to=<> >
<$view tiddler=<>
Hi Dave,
I tested the filter in your OP and it worked for me with titles that have
multiple words.
I also tested the full snippet and found there is a [ missing before
article, but other than that, this also seems to work.
c pa's solution is pretty cool, too.
Regards,
Richard
On Saturday,
It will be in a tiddler tagged $:/tags/ViewTemplate
Dave
On Fri, Jul 22, 2016 at 7:15 PM, David Gifford wrote:
> Hi c pa
>
> I probably should have included the complete list filter. I am not sure
> how to integrate this with what you just sent me
>
> <$list
Hi c pa
I probably should have included the complete list filter. I am not sure how
to integrate this with what you just sent me
<$list filter="article{!!title}]">
<$transclude field="text" mode="block"/>
<$link field="title"><$view field="source"/> - <$view
field="modified" format="date"
\define List_Articles(article, template)
<$list filter="[field:article[$article$]]">
$template$
\end
<$macrocall $name="List_Articles" article={{!!title}}
template="""
Code to be run per article such as listing the title:
{{!!title}}
"""/>
And yes. It does seem to be
9 matches
Mail list logo