The number of vote is not displayed.(SOLVED) 6 years 8 months ago #1

  • Depreter
  • Localtime: 17:57
  • Europe/Bucharest
  • Posts: 6
Hello, when I display a picture, the number of vote is not displayed.
Have you ever encountered this problem?
Thank you in advance for any help you can give me.
Link for exemple ... http://glamhotl.cluster015.ovh.net/concours/index.php/component/hotornot/?task=show&id=1&source=hotornot&Itemid=122
The administrator has disabled public write access.

Re: The number of vote is not displayed. 6 years 8 months ago #2

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 17:57
  • Europe/Bucharest
  • Posts: 4642
Hello!

Please edit  [Joomla dir]\components\com_hotornot\views\show\tmpl\default.php and add on line 58 (or wherever you want the current rating displayed) the following:
<?php echo $this->image['rank']; ?><img src="http://localhost/hotornot_deluxe_310/components/com_hotornot/assets/images/star_on.png" class="hotornot-icon3">
thePHPfactory Customer Support
The administrator has disabled public write access.

Re: The number of vote is not displayed.(SOLVED) 6 years 8 months ago #3

  • Depreter
  • Localtime: 17:57
  • Europe/Bucharest
  • Posts: 6
Thx you again ... :)
The administrator has disabled public write access.