Hey guys,

for my wiki I need to substitute part of a filter which gets passed to a 
macro which in turn builds a table from those tiddlers.

My call looks like this:
<<table [tag[action]hive{!!title}] "title date text" "UID Date Notes">>
Obviously that does not work (I dropped a console.log in my JS macro), my 
macro gets passed the filter without substituted title. What else I tried 
and did not work:

   - Enclosing the filter in quotes
   - Using the filter without quotes
   - Using {{!!title}}
   - $set a variable and concatenate the filter: [tag[action]hive<var>] - 
   Results in an TW error claiming the widget being null (maybe my macro is 
   not bullet proof)
   - $set a variable by making the substitution the vars value: <$set 
   name="var" value={{!!title}}>

My initial thought was this might be caused by the tiddler being 
transcluded via the *tabs* macro. But when I just drop the filter inside a 
list widget it shows the correct tiddlers and a {{!!title}} inside the 
transcluded tiddler revealed the name of the "parent" tiddler - so no 
problem there.


I am out of ideas so I came here hoping someone is willing to point me into 
the right direction.


Cheers,

Tristen

-- 
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/8de7e8f0-303d-4fd0-8f4e-ad08264f0b69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to