Did you see this recent discussion ?
https://groups.google.com/forum/#!topic/tiddlywiki/SEIPnAVxRA0

Thanks to Eric Using CSS

On Sunday, 1 July 2012 13:17:28 UTC+10, twgrp wrote:
>
> Are there any suggestions how to hide and show *bits* of a tiddler? 
>
> For example, I want to show this first half of this sentence but this 
> second half only if some criteria is fulfilled. 
>
> A more practical application (that I use!) is to have a "+" (i.e a 
> newHere or similar) appear next to each item in forEach-generated 
> lists... but the "+" only appears for me, not to a visitor! 
>
> I achieve this with a simple macro call, for each item in the fET, to 
> a tiddler containing <<newHere label:"+" tag:$1>> which is set as 
> private. The result is a that I can easily create subtiddlers to the 
> listed items but the visitor can't see any such button at all. 
>
> Are there other methods to show or hide bits on command? 
>
> I guess the ideal would be some kind of local tags like: 
> This is public but <private>this is private and</private> some things 
> are <private if user==president> only relevant for your eyes such as</ 
> private> secrets... 
>
> There is Simons great HideWhenPlugin[1] but this is applied in 
> ViewTemplate and EditTemplate so it is not as specific inside tiddlers 
> and it has to be defined in advance. Or am I missing something? Here 
> are two examples from his plugin: 
>
> <div macro="showWhenTagged Task">[[TaskToolbar]]</div> 
> <div macro="showWhen tiddler.modifier == 'BartSimpson'"><img 
> src="bart.gif"/></div> 
>
> Other suggestions? Now with tiddlyspace, things are much more out in 
> the open so I see a need for greater control on this. 
>
> Thank you! 
>
>
>
> [1] http://mptw.tiddlyspot.com/#HideWhenPlugin 
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/BUxw8DKTkRMJ.
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