It seems when I use <<ufilter>> tm-download-file does not work but for 
$(uifilter)$ it works!!

--Mohammad

On Thursday, December 26, 2019 at 9:26:20 AM UTC+3:30, Mohammad wrote:
>
>
> This is a sample code to create an export button and lets save a set of 
> tiddlers into a static .html
>
>
>    - It uses a search box to lets filter all non system tiddlers tagged 
>    with Concepts
>    - To reproduce 
>       - Create a tiddler on tiddlywiki.com
>       - copy and paste the below code and save it
>       - next enter something in the saerch box to select some tiddlers 
>       (for example enter p)
>       - next click on export and see *nothing has been exported!!*
>    
>
> \define myTag() Concepts
>
> \define test-export()
> <$edit-text tag=input tiddler=tid2 />
>
> <$set name=searchTerms tiddler=tid2 field=text>
> <$vars ufilter="[!is[system]tag<myTag>search:title<searchTerms>]" >
> <<doExport>>
>
> <$button>Export
> <$action-sendmessage 
>   $message="tm-download-file" 
> $param="$:/core/templates/exporters/StaticRiver" 
> exportFilter=<<ufilter>>
> filename=<<exportButtonFilename """nella""">>/>
> </$button> 
> <hr>
>
> <$list filter=<<ufilter>> >
>
> </$list>
>
> </$vars>
> </$set>
> \end
>
> <<test-export>>
>
>
> It seems something goes wrong when I use variables to create the export 
> filter
>

-- 
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/f820ec1e-a8df-4b1c-8ed8-4de1524d8f0b%40googlegroups.com.

Reply via email to