I have found a solution in another thread that works well, but I need a
little help with it. I have gone for the following:
Enter<table style="width:100%">
<tr>
<td style="width:1%"> </td>
<$list filter="[tag[Location]sort[]]" variable="col">
<td style="width:1%"><$link to=<<col>>>''<<col>>''</$link></td>
</$list>
</tr>
<$list filter="[tag[Furniture]sort[]]" variable="row">
<tr>
<td style="width:1%"><$link to=<<row>>>''<<row>>''</$link></td>
<$list filter="[tag[Location]sort[]]" variable="col">
<td style="width:1%">
<$transclude tiddler=<<col>> index=<<row>>>-</$transclude>
</td>
</$list>
</tr>
</$list>
</table>
I am then using a application/x-tiddler-dictionary type tiddler for each
room, eg Bathroom-Data, containing the following:
Taps: Gold
Sink: Double Basin
My only problem is that using application/x-tiddler-dictionary limits the
presentation options in Bathroom-Data. So I started creating a cover
tiddler with the same room name minus the "-Data" suffix, for example
tiddler "Bathrooom" contains:
\define distance(roomdata)
<table>
<$list filter="[[Bathroom-Data]indexes[]]">
<tr>
<td><$link><$view field="title"/></$link></td>
<td><$view tiddler="Bathroom-Data" index={{!!title}}/></td>
</tr>
</$list>
</table>
\end
<<distance event:"roomdata">>
I am hoping its a simple question, but how can I modify my matrix code to
list present links to the non-Data version of the tiddler at the top, but
pull from the "-Data" version of the tiddler for the cells?
--
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/556688c5-12af-42ff-91cd-f377e6dd8266%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.