Hey, actually I don't need to check for a tag value. &&
tiddler.text.contains("part Summary") is a good enough check. Thanks!!
Let me explain what I wanted to do. I have a journal with tiddlers entered
as dates. They are in the format YYYY-MM-DD so I can easily query a range
of dates (where tiddler.title >= "2009-12-21" && tiddler.title <=
"2010-04-05"). I have a "Timeline" tiddler that has a series of
forEachTiddler statements with date ranges looking for the partTiddler
"Timeline" entries. If I want to put something on the Timeline I just put
a <part Timeline> in the journal tiddler. Now it works!!
On Saturday, July 7, 2012 12:29:45 AM UTC-5, Shango wrote:
>
> If all I was displaying was the tiddlerPart, then I think blank ones would
> skip. But since I'm displaying tiddler.title also, then all the tiddlers
> in the forEachTiddler will display. I was hoping I wouldn't have to bother
> with using tags for checking but that may be the only way it will work :(
>
> Thanks
>
>
> On Friday, July 6, 2012 2:25:51 PM UTC-5, whatever wrote:
>>
>> Doesn't it automatically get excluded?
>>
>> Otherwise do this in the where part:
>> 'tiddler.tags.contains("YourTag") && tiddler.text.contains("part
>> Summary)'
>>
>> w
>>
>> On 6 jul., 21:07, Shango <[email protected]> wrote:
>> > How do I prevent tiddlers that do not have any "Summary" part from
>> showing at all in the output? I just need a way to test for a null value
>> of the partTiddler in the where clause. I'm not sure how to do that.
>> >
>> > Thanks.
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/tiddlywiki/-/PWlE5kJV3jkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.