[tw] Re: forEachTiddler with partTiddler

2012-07-06 Thread Shango
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 -MM-DD so I can easily query a range of dates (where

[tw] Re: forEachTiddler with partTiddler

2012-07-06 Thread Shango
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

[tw] Re: forEachTiddler with partTiddler

2012-07-06 Thread whatever
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 wrote: > How do I prevent tiddlers that do not have any "Summary" part from showing at > all in the output?  I just

[tw] Re: forEachTiddler with partTiddler

2012-07-06 Thread Shango
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 Gr

[tw] Re: forEachTiddler with partTiddler

2012-07-05 Thread whatever
@twgrp: The beauty of parts is that you can use them within the text. For example: Blah blah blah means whatever it means blah blah. @Shango: yeah, it's tiddler.title, not name. I was tired when I wrote that:D w On Jul 5, 3:26 pm, twgrp wrote: > I recall recommendations *against* using parts an

[tw] Re: forEachTiddler with partTiddler

2012-07-05 Thread twgrp
I recall recommendations *against* using parts and instead use either slices or, hm what's it called, headings? Not quite sure why, though... ? Examples of this are: |Here|is a slice value| !And here is a heading value You pull out the values via: tiddlername::Here and [[tiddlername##And he

[tw] Re: forEachTiddler with partTiddler

2012-07-05 Thread Shango
Oh ok. I thought since it is enclosed in quotes as a string, it would not be confused. I have another question. 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

[tw] Re: forEachTiddler with partTiddler

2012-07-04 Thread TonyM
Why can't it just be the closing ">>" ? Because it would prematurely close the matching << on the ForEachTiddler macro itself ! in the calling tiddler ! TonyM On Thursday, 5 July 2012 03:46:04 UTC+10, Shango wrote: > > Ah Ha!!! I knew the method but I didn't know the correct syntax. The > ">

[tw] Re: forEachTiddler with partTiddler

2012-07-04 Thread Shango
Ah Ha!!! I knew the method but I didn't know the correct syntax. The ">\>" is what I needed. Is that a quirk of html syntax? I don't understand the "\>" Why can't it just be the closing ">>"? (Also, should be tiddler.title not tiddler.name). Thanks! On Wednesday, July 4, 2012 12:09

[tw] Re: forEachTiddler with partTiddler

2012-07-04 Thread whatever
Hi! in the write parameter use: '"<\>"' w On 4 jul., 16:54, Shango wrote: > How can I use forEachTiddler to show specifically named parts?  I want to > display the tidder name and contents of a specifically named part of a > tiddler if it exists.  For example, if I have a part named "Summary" i