Page 1 of 1

Want to edit to hide total number of vote/star(Image rating)

Posted: 09 May 2012, 17:20
by shapna
Hi all, We are using Phoca in Joomla to host image voting competition and we love it! We need to modify one thing though. When a user looks at the image he/she shouldn't be seeing the previous number of votes/stars (logged in or otherwise). In the back end, we as the admins want to see all the numbers of ratings. But we do not want users to see as we think that it will influence their decision. Can you please tell me how to do it? If you can tell at least which files/directories and what code to edit, I can take from there. Thanks alot!
:)

Re: Want to edit to hide total number of vote/star(Image rat

Posted: 09 May 2012, 18:32
by Jan
Hi, then you need to customize directly in the code, e.g. to hide the votes statistics of stars with help of CSS or styles in the code. Unfortunatelly, I didn't do such customization yet, so cannot give any clue advice there :-( :-(

Jan

Re: Want to edit to hide total number of vote/star(Image rat

Posted: 09 May 2012, 19:13
by shapna
Hi, Yea. Can you please tell me which files I must be looking at to customize it? The directories, pls?

Re: Want to edit to hide total number of vote/star(Image rat

Posted: 13 May 2012, 23:48
by Jan
Hi, all templates where you want to display it. So e.g. if you display the rating in categories view:

components/com_phocagallery/views/categories/view.html.php
components/com_phocagallery/views/categories/tmpl/default. ...

and ther you will find methods which call the libraries functions, like this:
administrator\components\com_phocagallery\libraries\phocagallery\rate\ ...

Jan