Hi forum members,
I am using phoca gallery 4.3.1 and I have enabled jcomments for images. Is it possible to know which photo has associated comments without having to enter the detail view of it? Could a different image for inserting comment e.g. A blue one, to be displayed for images that have comments whereas the standard comment icon (white) for those who haven't?
Thank you in advace,
Dimitris
Which photo has comments
-
- Phoca Member
- Posts: 10
- Joined: 14 Sep 2016, 10:12
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Which photo has comments
Hi, you should see the information about comments in JComments administration
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 14 Sep 2016, 10:12
Re: Which photo has comments
Thank you for your response Jan but I can't find something relevant there. Moreover, I want the number of comments to be displayed below each image which is on phoca gallery. Is it also possible to display the number of hits on each image as well? Can you please help me?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Which photo has comments
Hi, you can see hits in statistics when you enable statistcs tab. To display it on other place, this needs to be customized - the "hits" variable is set in Phoca Gallery, so there is stored the information about the hits.
To see the number of comments made by JComments, there needs to be written some part of the code, which directly asks the JComments component in database
Jan
To see the number of comments made by JComments, there needs to be written some part of the code, which directly asks the JComments component in database
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 14 Sep 2016, 10:12
Re: Which photo has comments
Thank you Jan for your advice. However, I was trying to find some property like hot or most viewed on top of each photo. E.g. 10hits, 28commemts so as the user to know in advance the activity regarding the photo. I enabled most commented and last comments of jcomments to somehow inform the user.
As I see it, it would really be an nice feature to have in the future.
D.
As I see it, it would really be an nice feature to have in the future.
D.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Which photo has comments
Ok, I have added it to feature request list.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 14 Sep 2016, 10:12
Re: Which photo has comments
You are Great!!!