Comment counter remains at 0
Permalink
Not sure if this is the right section for this but here goes. I've put together a couple of sites with Blogs and neither of them have comment counters that work. The comments show when you go to the page in question but on the main page everything says "0 comments". Am I missing a trigger somewhere to make this work? I would assume that it would be automatic.
Thank you kindly,
Thank you kindly,
![Steevb](/files/avatars/9622.jpg)
What blog are you using?
The built in one.
Alright, this is just weirdness.
I managed to get the counter working if I allow comments to come in unapproved for the first comment then set it to approval required after posting a test comment. Now the counter shows all comments, approved, unapproved or removed. Not really a very good counter. From the lack of response I guess I should assume that people either don't use the built in blog or don't care about the state of the counter.
I managed to get the counter working if I allow comments to come in unapproved for the first comment then set it to approval required after posting a test comment. Now the counter shows all comments, approved, unapproved or removed. Not really a very good counter. From the lack of response I guess I should assume that people either don't use the built in blog or don't care about the state of the counter.
After much fruitless searching I finally decided to just write my own block to force the counter to work. The attached file resides in "concrete/blocks/page_lists/templates". Do not use it unless you have comments turned on in your blog as it will show "0 comments". It would be wise to rename the existing file to a .bak or something before putting this file in. It is also geared to work with mySQL but the written sections are not hard to find if needed. This was written for an earlier version but 5.5 looks to be the same.