Hi, I need to change rating image system by removing stars and showing only vote number because i need to use it as photo contest.
Can someone help me please?
Best Regards
Davide
Image Rating: how remove stars?
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Image Rating: how remove stars?
Hi, hmm, in fact this should be only design issue as the numbers are used to store the data in database.
Try to see:
components\com_phocagallery\views\category\tmpl\default_images.php
cca line 150 ...
// Rate Image
Try to see:
components\com_phocagallery\views\category\tmpl\default_images.php
cca line 150 ...
// Rate Image
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 16 Aug 2015, 19:12
Re: Image Rating: how remove stars?
Hi Jan,
I have the same objective to make a contest with only counting votes per image and not rating. So I want to have only one star.
My issue is that I don't know PHP... sorry
I have a site under Joomla 3.4 and I found the // Rate Image in line 309 on the last version for joomla 3.
Can you please help me and give me a clue what to modify in the default_images.php file
I found this code:
"for ($iV = 2;$iV < 6;$iV++)"
is it here that I have to modify something?
Thanks in advance for you support
PS : really great extension you have there
I have the same objective to make a contest with only counting votes per image and not rating. So I want to have only one star.
My issue is that I don't know PHP... sorry
I have a site under Joomla 3.4 and I found the // Rate Image in line 309 on the last version for joomla 3.
Can you please help me and give me a clue what to modify in the default_images.php file
I found this code:
"for ($iV = 2;$iV < 6;$iV++)"
is it here that I have to modify something?
Thanks in advance for you support
PS : really great extension you have there
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Image Rating: how remove stars?
Hi, the problem is, that I didn't such modification yet, so don't have any experiences and don't know what exactly needs to be done
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 16 Aug 2015, 19:12
Re: Image Rating: how remove stars?
Hi Jan,
thanks for your reply.
Even I find your extension really great, I will not able to use it because I really need this feature.
Nevertheless I will note it in a good way
Good luck for your future dev.
thanks for your reply.
Even I find your extension really great, I will not able to use it because I really need this feature.
Nevertheless I will note it in a good way
Good luck for your future dev.
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Image Rating: how remove stars?
Ok
If you find Phoca extensions useful, please support the project