In case it's helpful to anyone else: the obvious solution to this
problem was to put my checkbox macro in a separate tiddler (called
datestamp) and then use <span macro='tiddler datestamp'> in the
ViewTemplate.

Next idea: gather up the many transclusion tiddlers that are floating
around unattached in my TW into a single tiddler with sections.

But I still don't know why my original approach stopped working.
cmari

On May 15, 1:46 pm, cmari <[email protected]> wrote:
> Sorry, I forgot to add the final piece that I don't understand:
> Using the same macro (with or without html) inside a tiddler rather
> than in the ViewTemplate works fine in both 2.5.3 and 2.6.0.
>
> 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 
> athttp://groups.google.com/group/tiddlywiki?hl=en.

-- 
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