Go
Decent Blogging using Foswiki Read on
25 Aug 2005 - 12:07 in tagged , by Michael Daum
Wow now, I've found out how to count BlogComments of a BlogEntry.
This is done by a nested search implemented in the "format" section of the RenderBlogCommentCount TopicFunction and inserted into the RenderBlogTeaser which in turn gets used by the SubjectCategories and BlogAuthors survey pages. This has been implemented in a separat formatting TopicFunction for maximum flexibility to use it in different places in the RenderBlogTeaser, RenderBlogComment and RenderBlogEntry.

3 Comments

1 MichaelDaum replied 4 hours, 51 minutes later

Added "Nr" to BlogComment

Well counting comments can be done using css3 but a better solution is to add an id to the record. Now that we have CountBlogComments with OFFSET this can be initialised properly using the form generated by RenderAddComment. … reply

2 MichaelDaum replied 4 hours, 51 minutes later

Just to make sure ...

... that it works smile … reply

Leave a Reply

You may have to login or register to comment if you haven't already.
r11 - 27 Feb 2006 - 16:45:36 - Main.MichaelDaum
Copyright © 1999-2012 Michael Daum Consulting. All rights reserved. Impressum.