Page 1 of 1

Image rating notification

Posted: 17 Dec 2014, 16:52
by komir
Hi, is it possible to have notification to unregistered users, that, they must register to make rating of image?
Something like popup window/floating window to unregistered users, when they have mouse over stars?
If is not possible, maybe to add text/notification, above stars, to unregistered users. To add custom test, what will be correct file to add it?
Thank you, best regards

Re: Image rating notification

Posted: 17 Dec 2014, 23:43
by Jan
Hi, for now there is no such option, it can be displayed e.g. in description, to display it e.g. on mouse over, this needs to be customized in the code :-(

Jan

Re: Image rating notification

Posted: 18 Dec 2014, 00:04
by komir
Hi, thank you. I try to add custom text in /components/com_phocagallery/views/category/tmpl/default_images.php, before, // Rate Image with

Code: Select all

<?php echo "Only registered users can vote!"; ?>
, but, in fronted get white page?
Can I get additional help, please
Thank you

Re: Image rating notification

Posted: 18 Dec 2014, 17:35
by Jan
Hi, white page mostly means a php error, enable php error reporting to see which error you get there:
https://www.phoca.cz/documents/16-joomla ... rs-on-site

Jan

Re: Image rating notification

Posted: 18 Dec 2014, 23:12
by komir
Jan wrote:Hi, white page mostly means a php error, enable php error reporting to see which error you get there:
https://www.phoca.cz/documents/16-joomla ... rs-on-site

Jan
Hi, thank you. Now know reason of white page. It is, I try to add custom text in /components/com_phocagallery/views/category/tmpl/default_images.php, before,

Code: Select all

 // Rate Image
with

Code: Select all

<?php echo "Only registered users can vote!"; ?>
, to get notification, above stars, for customers?
But, it is wrong and try to figured what is correct way to get notification?

Thank you

Re: Image rating notification

Posted: 21 Dec 2014, 20:26
by Jan
And do you get some specific error message there?

Jan

Re: Image rating notification

Posted: 28 Dec 2014, 22:54
by komir
Jan wrote:And do you get some specific error message there?

Jan
No, only white page

Re: Image rating notification

Posted: 02 Jan 2015, 00:19
by Jan
White page mostly means a php error, try to enable php error reporting or see the errorLog on your server which tells more about the problems :idea:
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan