Hi Stephan and Lorenzo,

My current author's view template shows me the number and the list of its 
publications. The template looks like the following (but I actually use 
fields instead of tags):

<$list filter="[is[current]tag[author]]">
 <hr>
 <$count filter="[is[current]tagging[]tag[publication]]"/> publications <br>
 <$list filter="[is[current]tagging[]tag[publication]]">
 </$list>
</$list>

The problem is that <hr> and the number of publications are shown even if 
an author has no publication.

The other problem is that the ListWidget gives me a list of tiddlers. In 
other words, it gives me a number N (an integer). Thus, what's inside the 
widget will be shown N times.
For example:

<$list filter="[is[current]tag[author]tagging[]tag[publication]]">
  <hr>
  <$count filter="…whatever…" /> publications <br>
  <$list filter="…whatever…">
  </$list>
</$list>

Here, if an author has N publications, then <hr> and <$count> are shown N 
times.

What would be great is something like that:

<$if "[is[current]tag[author]]" and "[is[current]tagging[]tag[publication]] 
≥ 1">
  <hr>
   <$count filter="…whatever…" /> publications <br>
  <$list filter="…whatever…">
  </$list>
</$if>

My TW5 is here: http://tesis.tiddlyspot.com/

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to