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 < [email protected]> wrote: > 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 I > think it works. > > Good Luck! > > Regards, > Richard > > > > On Tuesday, July 26, 2016 at 11:55:00 PM UTC+10, David Gifford wrote: >> >> Yes, I will have multiple items in the article field. Hmmm >> >> Dave >> >> On Tue, Jul 26, 2016 at 8:53 AM, RichardWilliamSmith < >> [email protected]> 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 - if I remove them, the >>> transclusion works, but the tags break up into separate words. >>> >>> I guess this is to do with the way that you have re-used the tag >>> mechanism. The fix probably depends on whether you need each tiddler to >>> have multiple "article tags" (fix the template) or only one (fix the >>> tag-like interface). >>> >>> Regards, >>> Richard >>> >>> On Tuesday, July 26, 2016 at 9:55:54 PM UTC+10, David Gifford wrote: >>>> >>>> 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 >>>> <http://giffmex.org/experiments/7-22.html#Reading%2C%20notes%20on>", >>>> which does not show the tiddler that should be there. >>>> >>>> The viewtemplate tiddler being used is $:/.ChildrenArticles >>>> <http://giffmex.org/experiments/7-22.html#%24%3A%2F.ChildrenArticles> >>>> >>>> What am I doing wrong??? Any ideas? >>>> >>>> Dave >>>> >>>> On Sunday, July 24, 2016 at 12:57:29 AM UTC-5, c pa wrote: >>>>> >>>>> \define List_Articles(article) >>>>> <!-- find all tiddlers that have field article = this tiddler --> >>>>> <$list filter="[field:article[$article$]]" >>>>> variable="article_tiddler"> >>>>> <!-- Show the contents of that tiddler --> >>>>> <$transclude tiddler=<<article_tiddler>> field="text" >>>>> mode="block"/> >>>>> <!-- wrap the next bit in a styled span --> >>>>> <span class="source"> >>>>> <!-- Provide a link that will open that tiddler --> >>>>> <$link to=<<article_tiddler>> > >>>>> <!-- Display the source field of that tiddler (not >>>>> the title) --> >>>>> <$view tiddler=<<article_tiddler>> >>>>> field="source"/> - >>>>> <!-- Display the modifed date of that tiddler --> >>>>> <$view tiddler=<<article_tiddler>> >>>>> field="modified" format="date" template="YYYY MMM"/> >>>>> </$link> >>>>> </span> >>>>> <hr> >>>>> </$list> >>>>> \end >>>>> >>>>> <$macrocall $name="List_Articles" article={{!!title}} /> >>>>> >>>>> >>>>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "TiddlyWiki" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/tiddlywiki/AY6P-tro51o/unsubscribe. >>> To unsubscribe from this group and all its topics, 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/912e5bd5-70b5-4a52-8440-fa645a67e18f%40googlegroups.com >>> <https://groups.google.com/d/msgid/tiddlywiki/912e5bd5-70b5-4a52-8440-fa645a67e18f%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> David Gifford >> Christian Reformed World Missions, Mexico City >> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "TiddlyWiki" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/tiddlywiki/AY6P-tro51o/unsubscribe. > To unsubscribe from this group and all its topics, 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/23502c3c-64fa-48e6-bc03-f82913d7ba7c%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/23502c3c-64fa-48e6-bc03-f82913d7ba7c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- David Gifford Christian Reformed World Missions, Mexico City -- 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/CANE%3DBFKMB4j5FA6z3JLHahDnYVa0fdOkf7ZpYF_cthCN%3DFxwzw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

