Want to edit to hide total number of vote/star(Image rating)
-
shapna
- Phoca Newbie

- Posts: 4
- Joined: 04 May 2012, 00:31
Want to edit to hide total number of vote/star(Image rating)
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!

- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Want to edit to hide total number of vote/star(Image rat
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
Jan
If you find Phoca extensions useful, please support the project
-
shapna
- Phoca Newbie

- Posts: 4
- Joined: 04 May 2012, 00:31
Re: Want to edit to hide total number of vote/star(Image rat
Hi, Yea. Can you please tell me which files I must be looking at to customize it? The directories, pls?
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Want to edit to hide total number of vote/star(Image rat
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
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
If you find Phoca extensions useful, please support the project