On 1/28/06, <b class="gmail_sendername">Patrick R. Michaud</b> &lt;<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, Jan 29, 2006 at 12:15:59AM +0000, Hans wrote:<br>&gt; And re: number of posts: i have not found a method for this.<br><br>It can probably be done with SaveAttributes and some additional<br>pattern mangling, but you're right that it's not &quot;built-in&quot; to
<br>PmWiki.</blockquote><div><br>
Maybe there's something that could be adapted from the code for the
other comments extension, at
<a href="http://www.pmwiki.org/wiki/Cookbook/Comments">http://www.pmwiki.org/wiki/Cookbook/Comments</a>. <br>
<br>
OR maybe not.<br>
<br>
That recipe has some code in it that lets me put this in the skin's .tmpl file:<br>
&lt;a href=&quot;$PageUrl?action=comments#comments&quot; id=&quot;comments&quot;
class=&quot;unselected&quot;&gt;Comment: &lt;!--function:DisplayCommentsCount
--&gt; comment(s), below&lt;/a&gt;<br>
<br>
(I'd be glad to learn how to use the &quot;function:DisplayCommentsCount&quot; somewhere other than in the .tmpl file, btw)<br>
<br>
Output is &quot;Comment: # comment(s), below&quot; (where # is the count).<br>
&nbsp;</div>Just a thought.<br>
<br>
Tegan<br></div>