Good solution, clean & simple. . . gotta love ELS's extensive list of transclusions.
Mike On Mar 31, 1:08 pm, whatever <kbrezov...@gmail.com> wrote: > Found ToggleTiddlerTags from Eric and just added ", .tagging" (without > the quotes) to the setStylesheet parameter, right after > ".tagged" (without the quotes) and it works nicely. :D > > w > > On Mar 30, 7:21 pm, Mike <eris...@gmail.com> wrote: > > > could you use story.findcontainingtiddler? > > sorry about spelling / syntax (from memory) > > > just a shot in the dark, (might be a script I am thinking of) > > > Mike (from my phone) > > > On Mar 30, 12:13 pm, PMario <pmari...@gmail.com> wrote: > > > > Hi, > > > > Since I allways have problems with refresh I am not the right one : > > > ( too answer it right. But I use one or some of the following > > > functions. > > > > config.options.chkYourStuff= !config.options.chkYourStuff; > > > > story.forEachTiddler(function(t,e) > > > {story.refreshTiddler(t,null,true)}); > > > refreshDisplay(); > > > //refreshAll(); > > > > Hopefully someone else jumps in!! > > > The disadvantage is, that if a tiddler is in edit mode. It will be > > > renderd / wikified and can not be saved anymore. > > > > regards Mario > > > > On 30 Mrz., 18:44, whatever <kbrezov...@gmail.com> wrote: > > > > > Actually, restart() is the wrong script, but I'm not sure which is the > > > > right one. > > > > w > > > > > On Mar 30, 6:39 pm, whatever <kbrezov...@gmail.com> wrote: > > > > > > It works, but I'm not sure how to make it a one-click operation. I can > > > > > add the restart() script, but I need to click twice. > > > > > w > > > > > > On Mar 30, 5:56 pm, PMario <pmari...@gmail.com> wrote: > > > > > > > hi whatever, > > > > > > > Have a look at showWhen [1] macro > > > > > > > <div macro="showWhen config.options.chkYourStuff"> > > > > > > <div class='tagging' macro='tagging'></div> > > > > > > <div class='tagged' macro='tags'></div> > > > > > > </div> . > > > > > > > And somewhere you need "show tags <<option chkYourStuff>>" > > > > > > and a refresh! > > > > > > > did not test it. but should look that way > > > > > > > regards Mario > > > > > > [1]http://mptw.tiddlyspot.com/#HideWhenPlugin > > > > > > > On Mar 30, 11:08 am, whatever <kbrezov...@gmail.com> wrote: > > > > > > > > In one of my wikis, I hid the divs that display tags: > > > > > > > <div class='tagging' macro='tagging'></div> > > > > > > > <div class='tagged' macro='tags'></div> > > > > > > > The reason is that I use a lot of tags and they clutter the view. > > > > > > > However, sometimes, I find it useful to check the tags without > > > > > > > having > > > > > > > to edit the whole tiddler. So I put <div class='tagging' > > > > > > > macro='tiddler TagDivs'></div> in my ViewTemplate and in TagDivs > > > > > > > I put > > > > > > > the above mentioned divs with the nested sliders syntax. It didn't > > > > > > > work. So I changed the syntax to > > > > > > > +++[Tags]... > > > > > > > <<tagging>> > > > > > > > <<tags>> > > > > > > > === > > > > > > > Unfortunately, <<tagging>> always returtns "not tagging" and > > > > > > > <<tags>> > > > > > > > always returns > > > > > > > Error while executing macro <<tags>>: > > > > > > > TypeError: tiddler is undefined > > > > > > > > Any suggestions? > > > > > > > > w -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.