Hi everyone.
The native commenting feature in Couch allows a visitor to post comments to a blog post (or other cloned page). The comments are listed in a linear fashion, ordered by the submission date.
As I am sure many of you have seen on other websites, it can be advantageous to be able to reply to other comments. This hierarchical arrangement can produce a more fruitful conversation.
I hope in the future we can add similar functionality to the native comments, but in the meantime, here is a custom implementation which uses the DataBound module. This requires 1.4.5RC1 or later.
Included are some snippets, an example blog template, and a comments template. There is also a custom admin screen for the comments template which mimics the native admin panel comments listing and moderation functionality. To enable this custom admin screen, place the following in your addons/kfunctions.php file:
The native commenting feature in Couch allows a visitor to post comments to a blog post (or other cloned page). The comments are listed in a linear fashion, ordered by the submission date.
As I am sure many of you have seen on other websites, it can be advantageous to be able to reply to other comments. This hierarchical arrangement can produce a more fruitful conversation.
I hope in the future we can add similar functionality to the native comments, but in the meantime, here is a custom implementation which uses the DataBound module. This requires 1.4.5RC1 or later.
Included are some snippets, an example blog template, and a comments template. There is also a custom admin screen for the comments template which mimics the native admin panel comments listing and moderation functionality. To enable this custom admin screen, place the following in your addons/kfunctions.php file:
- Code: Select all
$FUNCS->register_admin_listview( 'comments.php', 'comments-admin-list.php' );