Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Displaying comments count on BlogHolder


Reply


287 Views

Avatar
Groundnation

Community Member, 1 Post

12 November 2013 at 6:01am

Would really appreciate any help with this - I want the comments count displayed on the BlogHolder. I'm using SS3.1 with the comments module but when adding $Comments.Count to the template I get this error;

[User Error] Uncaught Exception: No has_one found on class 'Comment', the has_many relation from 'BlogEntry' to 'Comment' requires a has_one on 'Comment'

What am I missing??