Or I should specify "you can *transclude* a text reference using curly brackets" since this can be a bit messy to keep straight.
Docs: https://tiddlywiki.com/#TextReference On Monday, June 21, 2021 at 11:28:33 AM UTC-4 clutterstack wrote: > Hi Patrick, > > Sorry if I'm misinterpreting. You can use a text reference in a filter > with curly brackets. > > It looks as though you're using Mohammad's timeline macros. I went to > https://kookma.github.io/TW-Timelines/ and made a new tiddler to test > your example. Adding the following gave me a timeline: > > <<timeline-vertical filter:"[tag{!!search}sort[date]]" >> > > Hope that helps, > Chris > On Monday, June 21, 2021 at 7:47:05 AM UTC-4 [email protected] wrote: > >> Matybe I wasn't clear enough.... >> >> I can get input into a field ("search") and assign it to a variable eg. >> >> \define thisList() >> <$list filter="[tag[$(TestVariable)$]]"> >> \end >> <$set name=TestVariable value={{!!search}}> >> TestVariable is <<TestVariable>> >> This list is <<thisList>> >> <br> >> </$set> >> >> <$edit-text field="search" default="" placeholder="enter text to search" >> tag="input"/> >> <br> >> >> this will list all tiddlers tagged with the value of the field "search" >> >> but I can't work out how to use that search term in another existing >> macro as a filter such as.... >> >> <<timeline-vertical filter:"[tag[search]sort[date]]" date:"date">> >> >> or >> >> <<timeline-vertical filter:"[tag[search] sort[date]]" search:"$(search)$" >> date:"date">> >> >> any ideas please? >> On Friday, 18 June 2021 at 00:11:12 UTC+1 Patrick RB wrote: >> >>> It look's like this is a common issue for newbies, but I'm using >>> timelines plugin to display tiddler filtered by tags (in this case >>> "snippet") >>> >>> <<timeline-vertical filter:"[tag[snippet]sort[date]]" date:"date" >>> >>> To aid quick searches and avoid editing the tiddler I have created a >>> text box input to set a field to inject input into tag[.....] and a custom >>> date field >>> >>> I can create, set and check the search field has the expected text, but >>> cannot get the timelines macro to accept the search field text, though the >>> date field works fine. >>> >>> can any of you real developers help? 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/45895c29-1e2f-4f89-9ccf-80bb3cb3507an%40googlegroups.com.

