• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Add comment system under each image

jeremerej

Chevereto Member
Hi guys,
I found a sleek open source comment system that I would like to add under each image of my website.
It should be quite easy, but I have difficulties to find the right place to add the html & JS code to call the comment script.
  1. Can you confirm that the right file to modify is app/routes/route.image.php?
  2. If so, where exactly should I add my code lines in this file to have the comment system appearing at the end of each image page?
Many thanks!
 
Hi guys,
I found a sleek open source comment system that I would like to add under each image of my website.
It should be quite easy, but I have difficulties to find the right place to add the html & JS code to call the comment script.
  1. Can you confirm that the right file to modify is app/routes/route.image.php?
  2. If so, where exactly should I add my code lines in this file to have the comment system appearing at the end of each image page?
Many thanks!
Hi, could you share that comment system that you found so we can see it ourselves?
 
  1. Thats the wrong file i suppose. If the comment system (like hashover) can be included by JavaScript, you should use the settings provided in Dashboard -> Settings -> External Services -> Comments API.
  2. If you really need to modify the pages itself, you should use overrides: https://chevereto.com/docs/theme
You need a override for views/image.php. Be aware that you need to manually check/upgrade this file everytime you apply a Chevereto update.

@JakeSully
I tried to implemented commentics (commentics.org) but ended up using hashover: https://github.com/jacobwb/hashover
Created a fork of this which improves a few of the flaws the latest version had: https://gitlab.com/guzzisti1/hashover-legacy
 
  1. Thats the wrong file i suppose. If the comment system (like hashover) can be included by JavaScript, you should use the settings provided in Dashboard -> Settings -> External Services -> Comments API.
  2. If you really need to modify the pages itself, you should use overrides: https://chevereto.com/docs/theme
You need a override for views/image.php. Be aware that you need to manually check/upgrade this file everytime you apply a Chevereto update.

@JakeSully
I tried to implemented commentics (commentics.org) but ended up using hashover: https://github.com/jacobwb/hashover
Created a fork of this which improves a few of the flaws the latest version had: https://gitlab.com/guzzisti1/hashover-legacy
okay, would you mind to create custom tutorial on how to implement hashover into chevereto? so everyone else here can add comment system as well to their chevereto copy?
 
Have a look:

Thanks for the guide, since my Chevereto install is a bit deeper than the root, it took some playing around. All good though and now it's working great.

I noticed that after making a comment I get a 404 error. For example:
Original: mydomain.com/photos/image/photo-18.0d5
After: mydomain.com/photos/image/0d5#c1

It appears to be dropping the main part of the image name. I thought it was the SEO URL setting, but turning that OFF made it worse.

Any thoughts?
 
Back
Top