Image Rating: how remove stars?

Phoca Gallery - image gallery extension
davide81
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 25 May 2015, 15:02

Image Rating: how remove stars?

Post by davide81 »

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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image Rating: how remove stars?

Post by Jan »

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
If you find Phoca extensions useful, please support the project
DuitaRider
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Aug 2015, 19:12

Re: Image Rating: how remove stars?

Post by DuitaRider »

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 :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image Rating: how remove stars?

Post by Jan »

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 :idea: :-(

Jan
If you find Phoca extensions useful, please support the project
DuitaRider
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Aug 2015, 19:12

Re: Image Rating: how remove stars?

Post by DuitaRider »

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. :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image Rating: how remove stars?

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply