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 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/912e5bd5-70b5-4a52-8440-fa645a67e18f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to