86

Product support

Get help in the plugin support forum.

Categories

Comment section for blog post! Make your blog posts more interactive and interesting by letting people comment on them!

You can enable reply to comment functionality, add custom labels for success messages and so on.

If you have any questions or offers email me: support@tallpro.com

Installation

Install plugin in your project and add component in to blog post CMS page. Also don't forget to setup component setting called "Blog slug"

Usage

You can simply use prepared template

this part will give you the comment form.

  {% component 'comments' %}

This part will give you the list of comments

  {% component 'comments::display' %}

Also you can have your own styling and control comments list

 {% for comment in comments.posts %}
       <strong>
        {% if comment.user.name %} 
            {{comment.user.name}}
        {% else %}
            {{comment.user_name}}
        {% endif %}
        </strong>
        {{comment.comment}}
    {% endfor %}

To show comment replies:

 {% for comment in comments.posts %}
       <strong>
        {% if comment.user.name %} 
            {{comment.user.name}}
        {% else %}
            {{comment.user_name}}
        {% endif %}
        </strong>
        {{comment.comment}}

 {% if comment.children %}
     <ul id="child-comments-{{comment.id}}">
         {% partial "comments::list" posts=comment.children %}
     </ul>
 {% endif %}

 {% endfor %}
1.0.5

Fix - Rainlab Translate plugin fix

Jun 04, 2019

1.0.4

Add "Allow reply" functionality. Allow reply to a comment only if user is logged in.

Mar 25, 2019

1.0.3

Add more control to notifications in settings section + tidy up form

Mar 19, 2019

1.0.2

Created table tallpro_blogcomments_comments

Mar 07, 2019

1.0.1

Initialize plugin.

Mar 07, 2019