CMS Development

Marius
Participant | Platinum Partner
Participant | Platinum Partner

Apply new comment form for blog template

SOLVE

Hi i created a new form for comment in contact -> form. Now i don't know how to apply that form to my blog template (not default blog). I also don't know how to customize the comment list and there are anyway to create a "load more" button from comment list to load more contact by Ajax?

0 Upvotes
1 Accepted solution
stefen
Solution
Key Advisor | Partner
Key Advisor | Partner

Apply new comment form for blog template

SOLVE

You cannot currently change the comments to use a different form. However, you can edit your comment form as needed. The comments module is fairly limited in it's options: http://designers.hubspot.com/docs/hubl/hubl-supported-modules#blog-comments

 

You could pretty easily hide the comments behind a "Load Comments" button but it's not going to actually ajax the comments or make the comments become a live feed. I'd recommend using something like Disqus if you need that additional functionality.

Stefen Phelps, Community Champion, Kelp Web Developer

View solution in original post

0 Upvotes
2 Replies 2
stefen
Solution
Key Advisor | Partner
Key Advisor | Partner

Apply new comment form for blog template

SOLVE

You cannot currently change the comments to use a different form. However, you can edit your comment form as needed. The comments module is fairly limited in it's options: http://designers.hubspot.com/docs/hubl/hubl-supported-modules#blog-comments

 

You could pretty easily hide the comments behind a "Load Comments" button but it's not going to actually ajax the comments or make the comments become a live feed. I'd recommend using something like Disqus if you need that additional functionality.

Stefen Phelps, Community Champion, Kelp Web Developer
0 Upvotes
Marius
Participant | Platinum Partner
Participant | Platinum Partner

Apply new comment form for blog template

SOLVE

I have other problem: right now the comment form submit was disappeared. I have try to create  Custom HubL like this but it still not appear the form: 

 

        Blog Comment Form module:
        {% blog_comments "blog_comments" overrideable=False, label='Blog Comments' %}
        
        Blog Comment Count module:
        {% blog_comments "blog_comments" %}
        
        Blog Comment listing for specific blog:
        {% blog_comments "default_blog_comments" select_blog='359485112' %}

 

I only have the list of comment with default comment module and Cutome HubL  like above. I always enable comment on setting:

 

comment.jpg

0 Upvotes