Mohammad,

I a tiddler tagged for view template I recently added this to detect new 
tiddler titles 

"[all[current]is[missing]]"


in 

<$list filter="[all[current]is[missing]]" variable=null>


and for tiddlers that exist

[all[current]has:field[text]]

<$list filter="[all[current]has:field[text]]" variable=null>


In the exiting tiddler test the has:field[text] also accepts an empty text 
field.

Untested but

[all[current]!is[missing]]


Should work, in this case we are ensuring there is the current tiddler 
title being tested for missing.

WHy do I have this test in view template?

Because I want to detect when someone opens a non existing tiddler from the 
URL

eg
https://tiddlywiki.com/#Filter%20Operator

Regards
Tony

On Thursday, 21 February 2019 08:44:50 UTC+11, Mohammad wrote:
>
> Thanks Mario
> Thanks Tony!
>
> So, for checking if a title is an existing tiddler what can I do
>
> [!is[tiddler]]   [is[missing]] [has[title]]
>
>
> --Mohammad
>
> On Wednesday, February 20, 2019 at 7:58:32 PM UTC+3:30, PMario wrote:
>>
>> Hi, 
>> Have a closer look at: 
>> https://tiddlywiki.com/#all%20Operator%20(Examples)
>> -m
>>
>

-- 
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/38305547-e337-41c1-a8a8-eea11c282e21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to