Re: [tw] Re: Dynamic filter with all option

2015-05-17 Thread Brian Gates
Thanks again, that should do the trick. I ended up promoting the fields to tags in any event. On Sun, May 17, 2015 at 12:25 AM, Eric Shulman elsdes...@gmail.com wrote: errata: I left out the outer square brackets on the filter=... bits: it should have been this: $reveal type=match text=All

Re: [tw] Re: Dynamic filter with all option

2015-05-17 Thread Brian Gates
Ok one more crazy question. If I wanted checkboxes to show/hide spells of certain levels 1-9, is there anything I could do there? Level exists as tag and field. Would love to be able to sort across levels also.  So, show spells level 1,2, and 3 sorted by name. On Sun, May 17, 2015 at

Re: [tw] Re: Dynamic filter with all option

2015-05-16 Thread Brian Gates
Am I correct in assuming there's no wildcard option for the parameter? Like, if I wanted to filter by a field instead, how might I accomplish this? On Sat, May 16, 2015 at 8:09 PM, Brian Gates brian.g.ga...@gmail.com wrote: That does it! Clever. Thank you :) On Sat, May 16, 2015 at 8:01 PM

Re: [tw] Re: Dynamic filter with all option

2015-05-16 Thread Brian Gates
would I handle {!!school_filter} of All?, I can't do school[*], or the like, can I? On Sat, May 16, 2015 at 9:55 PM, Eric Shulman elsdes...@gmail.com wrote: On Saturday, May 16, 2015 at 8:14:20 PM UTC-7, Brian Gates wrote: Am I correct in assuming there's no wildcard option for the parameter

[tw] Dynamic filter with all option

2015-05-16 Thread Brian Gates
I have spells tagged as belonging to certain classes. I want to create a display which list of spells with a dropdown to filter by a class (or not). div class='input' labelFilter by Class/label $select field='selected_class' default='All' option value='All'All/option $list

Re: [tw] Re: Dynamic filter with all option

2015-05-16 Thread Brian Gates
That does it! Clever. Thank you :) On Sat, May 16, 2015 at 8:01 PM, Eric Shulman elsdes...@gmail.com wrote: On Saturday, May 16, 2015 at 7:11:17 PM UTC-7, Brian Gates wrote: I have spells tagged as belonging to certain classes. I want to create a display which list of spells

[tw] Re: Import json merge fields

2015-01-22 Thread Brian Gates
I wrote a script which scrapes character data from roll20.com so that I can easily import stats into my tiddlywiki. Let's say I have a tiddler { title: Gimli, description: Stubborn dwarf } and an export from roll20 which might look like { title: Gimli, str: 16, dex: 10, con: 18, wis: 12, int:

[tw] Import json merge fields

2015-01-22 Thread Brian Gates
Hi, I have a tiddler: { foo: bar, title: Merge fields test } And I want to import: { baz: bar, title: Merge fields test } With an end result of: { foo: bar, baz: bar, title: Merge fields test } But I get this instead: { baz: bar, title: Merge fields test }

Re: [tw] Re: Import json merge fields

2015-01-22 Thread Brian Gates
Is there somewhere I could look to implement this myself? Seems like it shouldn't be too difficult. On Thu, Jan 22, 2015 at 6:15 PM, Tobias Beer beertob...@gmail.com wrote: I want an end result with both the description and attributes. Does indeed sound like a reasonable use-case to have an

Re: [tw] Re: Editable fields - Qualified data tiddler?

2015-01-19 Thread Brian Gates
I found a much better solution. I just tagged an edit view with $:/tags/EditTemplate. Seems this view does not suffer the same edit/render issues as the ViewTemplate does! Much more elegant solution. On Mon, Jan 19, 2015 at 9:04 AM, Tobias Beer beertob...@gmail.com wrote: The best option is

[tw] Editable fields - Qualified data tiddler?

2015-01-18 Thread Brian Gates
I'm trying to implement editable fields. I hit the whole re-render issue so I thought instead I might use the qualified macro to have a sort of underlying data tiddler but I don't see any means of joining a tiddler back to its data via filters. What's the best way to do this? -- You