Recently Browsing 0 members
No registered users viewing this page.
By Rhen GWL
I'm trying to install comments on two of my clients' websites. In both cases, I'm able to display the comment submission form, but the form submissions are not being saved or display. Once I click the submit button, I'm directed to the homepage where #CommentForm is appended to the end of the URL. I have looked through countless forums and Google searches, but I can't find any advice that has fixed this issue. I have followed the instructions from https://processwire.com/docs/modules/guides/comments/ exactly as described, and I'm getting no where.
Like I said, this is set up on two different websites and I'm seeing the same issues with both. I assume it's some issue with connecting with a database, but I don't see anything in the instructions on PW's website that says I need to do anything there.
I'm working on the threaded comments on my website and for this I need to include the comments.js
When I do this it keeps on giving me the "Uncaught ReferenceRrror: jQuery is not defined". Whatever I do it keeps giving me this error message.
I am running a page template that contains a filter form that allows users to display results based on number of comments.
Here is what I am thinking about doing:
-add new field called total_comments
-somehow populate this field every time a new comment is added or removed by admin with count($page->comments)
-use form filter to display results that the selector form has found.
Example: $selector = “total_comments>=$q”;
My question to everyone: Is this a good approach? If so how do I get another field to update based on the comment module adding or removing a comment?