I searched this forum and found the upgrade post, and the handy tool!

That worked.  And now I can use your code.  Thanks!

On Thursday, October 28, 2021 at 5:33:30 PM UTC-4 cj.v...@gmail.com wrote:

> Oh poop, TW versions.  I am not up and up on the differences between 
> versions, but I'm guessing that "filter" operand is the culprit.
>
> You might want to consider upgrading your TiddlyWiki to the latest version 
> (keeping a backup of your older version, of course.)
>
> Well worth it, I think, to get to the newest version.  Me thinks a good 
> number of folk really burned the midnight oil to create the latest.
>
> All of that said, if you must stay with 5.1.21 for any reason, drop a note 
> as such here.  I'm sure some enterprising person can come up with a right 
> sweet alternative.
>
> On Thursday, October 28, 2021 at 6:08:29 PM UTC-3 David wrote:
>
>> cj,
>>
>> Thanks so much for piddling with it.
>>
>> The reason I didn't include import type code was that I thought I was 
>> missing asimple filter operator or something like that.
>>
>> Second, I think thi sis a really cool thing.  I'd love to explore using 
>> json as my datasource more.  many more options than just the simple 
>> dictionary list.
>>
>> Third, the code you provided did not work in my own TW, but like you 
>> instructed, it worked on tw.com properly.  Does your code use any new 
>> features?  My version is *5.1.21* and I've never had to update it before.
>>
>> Thanks  so much!
>>
>> On Thursday, October 28, 2021 at 3:29:32 PM UTC-4 cj.v...@gmail.com 
>> wrote:
>>
>>> Man, it would have saved me a whole bunch of time if you had provided 
>>> tiddlers for this so folk don't have to build everything from scratch.
>>>
>>> Regardless, that was a fun exercise !!!
>>>
>>> Coding fun attached.  Download and drag into TiddlyWiki.com for import 
>>> and your analysis.  (One "Road Eats" tiddler with the data, one "Test 
>>> Thingy" tiddler with the filtering code.)
>>>
>>>
>>>
>>>
>>>
>>> On Thursday, October 28, 2021 at 3:51:37 PM UTC-3 David wrote:
>>>
>>>> I have a simple data tiddler which is my data source for a tiddler that 
>>>> displays it as checkboxes and all that is working as it should.
>>>>
>>>>
>>>> The display tiddler probably uses code I got off the TW site, I'm 
>>>> sure....
>>>>
>>>> <$tiddler tiddler="Road Eats">
>>>> <$list filter="[all[current]indexes[]sort[]]" variable=item>
>>>> <$checkbox index=<<item>> checked="1" unchecked="0"/> <<item>><br/>
>>>> </$list>
>>>> </$tiddler>
>>>>
>>>> And then that data tiddler is simple, like so....
>>>>
>>>> Hardee's: 0
>>>> Waffle House: 0
>>>> Captain D's: 0
>>>> Jack in the Box: 0
>>>>
>>>> What I'm interested in doing is putting another list of checkboxes 
>>>> above the existing one.  The top/new one should just show those that are 
>>>> checked (i.e. has a value of 1 in the data tiddler.
>>>>
>>>> I imagine that the same code would be used, but just with an extra 
>>>> param in the filter attribute, right?  I searched through the filter 
>>>> operators, but couldn't find it.
>>>>
>>>> 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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/03f26ca9-c983-4c20-bac0-092c0ec9611an%40googlegroups.com.

Reply via email to