Re: [tw] Re: javascript to add delete tags to/from existing tiddlers?

2013-03-09 Thread Dave
Hi Tobias, Sorry it took so long. Here's an example of what I'm talking about: https://dl.dropbox.com/u/2161814/fake%20patient.html some of the checkboxes when clicked will tag the test tiddler with one or two possibilities for what they possibly indicate. Each test on its own would not be

[tw] Re: javascript to add delete tags to/from existing tiddlers?

2013-02-26 Thread Tobias Beer
Hi again, Dave, 1) How do (your) tests (today) point to (one or multiple) diagnostic possiblilities? 2) Do diagnostic suggestions have something in common, i.e. do they themselves tag to diagnosis or something similar? 3) Is it rather that you have predefined test cases that are linked to

[tw] Re: javascript to add delete tags to/from existing tiddlers?

2013-02-24 Thread Tobias Beer
Added to the documentation... http://tiddlywikidev.tiddlyspace.com/#TiddlyWiki.prototype.setTiddlerTag() Cheers, Tobias. -- 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

[tw] Re: javascript to add delete tags to/from existing tiddlers?

2013-02-24 Thread Dave
Thank you both, that's exactly what I was looking for :) -- 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 post to this

[tw] Re: javascript to add delete tags to/from existing tiddlers?

2013-02-24 Thread Dave
As an added bonus, I figured out how to toggle the tags with the checkbox: [_=foo(tag){}{}{store.setTiddlerTag(AnotherTest,config.options.foo,someTagValue); }] so when you uncheck the checkbox, it removes the tag :D -- You received this message because you are subscribed to the Google Groups

[tw] Re: javascript to add delete tags to/from existing tiddlers?

2013-02-24 Thread Tobias Beer
Hi Dave, Nice example. I have modified your function a bit to be a bit more self-explanatory... var toggleTagBasedOnFoo = function(tiddler, tag){ store.setTiddlerTag(tiddler, config.options.chkFoo, tag); } Notice that for foo to actually be a boolean / checkbox option it's going to be in

[tw] Re: javascript to add delete tags to/from existing tiddlers?

2013-02-24 Thread Dave
Hi Tobias, this is the answer to this request I had a while back: https://groups.google.com/forum/?fromgroups=#!topic/tiddlywiki/-pY9t0ZERdY I'm making a process based on tag clouds to streamline and standardize the process of testing and diagnosis in my clinic. As various tests are checked

[tw] Re: javascript to add delete tags to/from existing tiddlers?

2013-02-24 Thread Dave
of course to get more than one tiddler tagged, I'll have to do something like this: [_=chkfoo(tag){}{}{some javascript;some more javascript;one more javascript}] (I think that should work - haven't tried yet) -- You received this message because you are subscribed to the Google Groups

[tw] Re: javascript to add delete tags to/from existing tiddlers?

2013-02-23 Thread Dave
Here's what I've got so far (code inside a checkbox using Eric's CheckboxPlugin): [_(tag){}{alert(before tag)}{tiddler.set(AnotherTest,newBody,modifier,2013-02-23,onetag twotag,2013-02-23,fields,creator)}] trying to figure out from here:

[tw] Re: javascript to add delete tags to/from existing tiddlers?

2013-02-23 Thread Eric Shulman
On Feb 23, 9:58 pm, Dave cedar...@telus.net wrote: Here's what I've got so far (code inside a checkbox using Eric's CheckboxPlugin): [_(tag){}{alert(before tag)}{tiddler.set(AnotherTest,newBody,modifier,2013-02-23,onetag twotag,2013-02-23,fields,creator)}] trying to figure out from