I use CheckboxPlugin in my ViewTemplate so that I have the option of
adding a "date stamp" to my tiddlers (checking the box adds today's
date to a custom field called "datelastdone").
Since upgrading to version 2.6, my approach no longer works.  I'm
hoping someone can either suggest a different method or tell me what I
would need to do differently with CheckboxPlugin.

I tested this in empty 2.5.3 and 2.6 versions of TW, with only the
CheckboxPlugin installed.

In ViewTemplate, just before the </div>, following the line:
<span macro='view created date'></span>)
I added:
<span class="label">datestamp: </span><span macro="checkbox [[]] [[]]
[[]] [[]]
[[{store.setValue(story.findContainingTiddler(place).getAttribute('tiddler'),'datelastdone',new
Date().formatString('YYYY/0MM/0DD'))}]] "></span>

thanks,
cmari

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
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.

Reply via email to