Hello ,

I have a data-tiddler called posologies in the form of : 

formulaOne : thisProduct : 3, thatProduct : 12, anotherProduct : 6
formulaTwo : thisProduct : 8, aProduct : 4, strangeProduct : 3, 
smallProduct : 3
formulaThree : anotherProduct : 9, thisProduct : 6
...


it references posologies for chinese medicine formulas. When I write a 
formula tiddler, I transclude the posology via this template :

<ul>
<$list filter="[[posologies]getindex<currentTiddler>split[,]]" 
variable=item ><li>
<<item>><br></li>
</$list>
</ul>

 
In individual products tiddlers, I use a template to reference the 
backlinks by category (user field) using the tab widget :

tiddler refTabsTemplate :

<$set name="nombreRef" filter="[all[current]backlinks[]count[]]">
<$reveal type="nomatch" text="0" default=<<nombreRef>> >

<div class="tc-tiddler-info">
<$reveal type="nomatch" state="$:/state/RevealRefs" text="show">

<$button set="$:/state/RevealRefs" setTo="show">Références</$button>

</$reveal>

<$reveal type="match" state="$:/state/RevealRefs" text="show">

<$button set="$:/state/RevealRefs" setTo="hide">Références</$button>

<<tabs "[all[current]backlinks[]each[category]get[category]]" "" "" "" 
"refTabsContent">>

</$reveal>

</div>

</$reveal>
</$set>

tiddler refTabsContent :

<div class="tc-menu-list-item">

<$list filter="[all[current]backlinks[]category<currentTab>]">
<div class="tc-menu-list-subitem">
<$link to={{!!title}}><$view field="title"/></$link>

</div>
</$list>
</div>


The problem I have now is that when transcluding from the data-tiddler, the 
backlinks to individual products are not detected.

Is there a workaround, or another (maybe simpler) way to extract data and 
have the backlinks detected ? 

I keep a backup of the wiki there : https://lepascalou.github.io/   

Thanks !
 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e29f84bc-f28e-470d-ae5e-8fc149a09327%40googlegroups.com.

Reply via email to