I'd like to create a ToggleTag checkbox (using the ToggleTagPlugin) which sets a tag containing the name of the tiddler where the checkbox resides.
For instance, Tiddler1 should show a list of tiddlers, and the ToggleTag checkbox before each listed tiddler should toggle a tag "Tiddler1" (where the list is being shown): Tiddler1: <div macro="mgtdList title:'Attendees' tags:'Contact' view:Attendee ignoreRealm:yes newButtonTags:'Contact' local:yes "></div> Tiddler2: render_Attendee: function() { return this.renderUtil( '{{attendee{'+ '<<toggleTag [[Attended@%1]] [[%0]] ->>'+ ' [[%0]] '+ '}}}'+ '{{notesLink{<<showNotesIcon [[%0]]>>}}}', [ this.title, parent.tiddler.title ] );}, What happens is, the tiddler *does* get tagged "Attended@Tiddler1", but the whole mgtdList div in Tiddler1 disappears!!! If I refresh Tiddler1 (close/open), the list shows properly, and the checkbox remains. Odd behaviour: If I pass a string, or something undefined as %1 (for instance, "asdf" or foo.bar), it tags as "Attended@asdf" or "Attended@undefined" and the mgtdList on Tiddler1 remains intact as expected. How do I properly pass the title of the tiddler on which the mgtdList resides, as the "tag" parameter of ToggleTagPlugin? Help! This one's really driving me crazy!! Thanks, David Szego -- You received this message because you are subscribed to the Google Groups "GTD TiddlyWiki" group. To post to this group, send email to gtd-tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to gtd-tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/gtd-tiddlywiki?hl=en.