I'm trying to specify a macro that will search all tiddlers for a field 
describing how they modify another tiddler (by default the current one) and 
list them together with the contents of those fields. This is my attempt, 
but it seems to produce no output, not even the output of the mfield 
variable at the bottem of the table.

\define ModifierBlock(for:"")
<table>
<$set name="x" value=<<__for__>> >
<$set name="mfield" filter="[title<x>lowercase[]addprefix[mod-]]">
<$list filter="[all[tiddlers]has<mfield>]">
<tr><th><<currentTiddler>></th><td><$view field=<<mfield>> /></td></tr>
</$list>
<tr><th><<mfield>></th></tr>
</$set>
</$set>
</table>
\end

In addition I notice that fields cannot contain spaces. There does not seem 
to be any filter operator to remove all spaces from a title to create 
something that could be used as a field name, is this possible?

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/529fd4dd-8492-4f06-9a03-5dd3ea1c53bco%40googlegroups.com.

Reply via email to