I haven't figure out whether you want to hide titles of tiddlers or
headers (which are created by "!.." markup) and whether you need to
hide only those things in the tagged tiddlers; but anyway:

* headers need .viewer h1, .viewer h2, .. selector;
* titles need .title selector
* tagged tiddlers are div elements with tag attribute with value of
tagName, so if you need, say, to hide titles of tiddlers tagged with
"project", here you go:

div[tag~="project"] .viewer .title { display: none; }

or, if you need to hide header elements:

div[tag~="project"] .viewer h1,
div[tag~="project"] .viewer h2,
div[tag~="project"] .viewer h3,
div[tag~="project"] .viewer h4,
div[tag~="project"] .viewer h5,
div[tag~="project"] .viewer h6 { display: none; }

would be your choise.

On 6 янв, 21:12, stuckagain <[email protected]> wrote:
> I have a template for a project page - all tiddlers tagged 'project',
> which uses ForEachTiddler to display lists of tiddlers related to that
> project which conform to differing criteria, e.g. Open tasks /
> delegated tasks / closed tasks / references etc.
>
> These are lists of project-related tiddlers are grouped together, each
> under a heading. There are about 8 or 9 such criteria each with a
> heading. Often several headings have no tiddlers listed. My question
> is whether it is possible to individually hide each of the headings if
> there are no tiddlers under it?
>
> An example of a section and its heading is ...
>
> !References
> <<forEachTiddler where 'tiddler.title == "SiteTitle"'
>   write
>   '"<<newTiddler label:new title:NewReference tag:Reference " +
> context.viewerTiddler.title + " $))"'>>
> <<forEachTiddler
>   where
> 'tiddler.tags.containsAll([context.viewerTiddler.title,"Reference"])'
>   sortBy 'tiddler.title' ascending
>   write '"[["+tiddler.title+"|"+tiddler.title+"]]\n"'
>
>
>
> Thanks

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