How to add comment counter to default template

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

Comments

  • There is an example in (of all things) the example theme of printing the comment count. Cr. line #69 of image.php.
  • cg1 Member
    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
  • acrylian Administrator, Developer
    Take the above example and place it within the `next_album()` loop on the theme's album.php.
Sign In or Register to comment.