Forums / Setup & design / Count Replies and Post in forum

Count Replies and Post in forum

Author Message

Ole Brudvik

Thursday 21 April 2005 1:44:35 am

Hi

Can anyone tell me how to count the posts and replies in a forum? Is the code for this EZ forum available somewhere because im trying to make the same?

Thanks,
OCB

Frederik Holljen

Monday 25 April 2005 11:46:30 pm

Hi,

I don't know exactly what the forum code in ez.no looks like, but I'm pretty sure it uses list_count to get the number of replies
http://ez.no/ez_publish/documentation/reference/data_fetching/content/list_count.

If you have a tree with nodes take a look at tree and tree_count instead.