Jump to:

10997 Posts in 2731 Topics by 1822 members

All other Modules

SilverStripe Forums » All other Modules » Displaying comments count on BlogHolder

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 269 Views
  • Groundnation
    Community Member
    1 Post

    Displaying comments count on BlogHolder Link to this post

    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??

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.