Like Taggly but in a table...

87 views
Skip to first unread message

Stuart Amor

unread,
Jun 13, 2016, 12:34:28 PM6/13/16
to TiddlyWiki
Can anybody help me with the following code?  I would like to add a third column in the end, but I am stuck just getting two to work...

\define tagtable(primary)
<table>
<tr><th>Primary</th><th>Secondary</th></tr>
<$list filter="[tag[$primary$]sort[]]" variable="ColA">
<tr>
<td><$link to=<<ColA>>><<ColA>></$link></td>
<td>
<$list filter="[tag[<<ColA>>]sort[]]" variable="ColB">
<$link to=<<ColB>>><<ColB>></$link>
</$list>
</
td>
</tr>
</
$list>
</table>
\end

<$macrocall $name="tagtable" primary='Contents'/
>



Mat

unread,
Jun 13, 2016, 12:44:23 PM6/13/16
to TiddlyWiki
One error is

[tag[<<ColA>>]sort...

it should read

[tag<ColA>sort...

See if that changes it.

<:-) 

Stuart Amor

unread,
Jun 13, 2016, 12:48:53 PM6/13/16
to TiddlyWiki
Wow, that was easy - thank you
Reply all
Reply to author
Forward
0 new messages