ZenphotoCMS Forum
How to add comment counter to default template - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: How to add comment counter to default template (/thread-3119.html)



How to add comment counter to default template - cg1 - 2008-06-18

Hello all,

i tried to add the int getCommentCount( ) to the default template, but it wont work.

i would like to add the comment counter under each picture in the album view. can anyone help me please?

thanks a lot

chris,
germany




How to add comment counter to default template - sbillard - 2008-06-18

There is an example in (of all things) the example theme of printing the comment count. Cr. line #69 of image.php.




How to add comment counter to default template - cg1 - 2008-06-19

hmm, no thats not what i mean. i would like to add the function to this page

http://www.brb-news.de/fotos/Events/GER-AUS-Audimax_2008/

(to the overview, not to each big image show).

did you have another tip?

thanks
chris




How to add comment counter to default template - acrylian - 2008-06-19

Take the above example and place it within the next_album() loop on the theme's album.php.