echo counts

Permalink
Could you please help me how to "echo counts" on guestbook/comment block?

The block is working good but but i would like to count the number of comments and echo it.

I am running C5 5.4.2.2

Thanks,

 
moosh replied on at Permalink Reply
moosh
Hi,

You just need to edti the view.php file and add where you want this line to echo count:

echo 'Number of posts : '.count($posts);


:-)

Best!
tgtg replied on at Permalink Reply
Thanks for the replay.
But the count # shows ZERO, even if i have several comments.
I deleted the old block and recreate new block and entered new comments.