Jump to:

10845 Posts in 2513 Topics by 1792 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: 170 Views
  • Groundnation
    Avatar
    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??

    170 Views
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.