Okay, just a few things to clear up. First, I'm using the Tiddylpedia
theme, which also shows which tiddlers are tagging the current
tiddler. Eric's plugin only coveres the tags, namely the tags of the
current tiddler. For some reason, my first solution didn't work in all
tiddlers. It did in some, but in others it only hid the tags and not
the tagging div. So after complicating things up to a point where I
had two copies of Eric's plugin but with different option names, I
realized that the simplest solution was to simply change the class of
the tagging div from <div class='tagging' macro='tagging'></div> to
<div class='tagged' macro='tagging'></div>, so both tags and tagging
div had the same class. By the way, .tagging and .tagged classes are
identical, which is what makes this possible.

w

On Apr 1, 3:32 am, Mike <[email protected]> wrote:
> Good solution, clean & simple. . .
> gotta love ELS's extensive list of transclusions.
>
> Mike
>
> On Mar 31, 1:08 pm, whatever <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 [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