Axs, thank you very much! It totally works. I just rewrote all the
code and also tried out some new idea. HideWhenPlugin is a must-have
indeed, at least in my case.

All works pretty well except that when call a tiddler macro like this,
the page went dead with no response and a message box later showed up
to stop some script running:

<span macro="tiddler [[xxx]] with: ..."></span>

But everything's ok if square brackets are removed:

<span macro="tiddler xxx with: ..."></span>

It works, only that tiddler [[xxx]] lost its references.

Btw, it seems that mGSD doesn't use this technique though it does have
HideWhenPlugin installed cuz I can't find any code in ViewTemplate
indicating what to do with "Project"s and "Action"s. Just out of
curiosity: what's mGSD's way of using HideWhenPlugin?

On Apr 4, 1:23 pm, axs <[email protected]> wrote:
> HideWhenPlugin [1] will do what you want. Install it and add the following
> to your View Template
>
> <span macro="showWhenTagged album">
> <span macro="showAlbumCover"></span>
> <span>
>
> regards,
> axs
>
> [1]http://mptw.tiddlyspot.com/#HideWhenPlugin

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