CommentsStack question

I just installed CommentsStack and use it inside my Blog Post page that I created with TotalCMS. Works excellent.
However, the same comment is posted in every Blog Post that I created.
How can I make sure that comments made to one Blog Post are only visible in that specific Blog Post?

Does this help?

Hello Heiko. The link to my blog is Blog | Herko & Ingrid. I solved it for now by creating one page to comment on ‘everything’, so separate from my blog. However, I noticed the same when adding a rating from TotalCMS. Added a rating field to my generic blog post and this rating shows up in every post. I removed that as well but can add if that helps. Thanks! Herko

The general approach is the same, but your filenaming is a little bit different. You could try to use the following code for the Database Name setting of the Comments Stack:

'.pathinfo(basename($_SERVER['REQUEST_URI'], $_SERVER['QUERY_STRING']), PATHINFO_FILENAME).'

Please Note the single quotes at the beginning and the end!

4f2e239908aa67abace2ae0244918dc7db0318e3

3 Likes

Works like a charm. Thank you very much!

1 Like

You’re welcome

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.