cotonti.com : Rating stars won't show https://www.cotonti.com Laatste forum onderwerpen Cotonti en Mon, 02 Feb 2026 20:10:48 -0000 Ross # Trustmaster : It's all about attention, I suppose.

You are right to scold me, but that rating piece of css style is really misterious to me. The names of classes and ids don't look related to the (x)html code. Maybe they are related to the javascript, but I don't know the javascript language so I didn't try to decode it and relate them.

Thank you a lot for your help.]]>
Thu, 03 Sep 2009 04:56:11 -0000
Trustmaster Wo, 02 Sep 2009 15:24:28 -0000 Ross ]]> Wo, 02 Sep 2009 05:19:28 -0000 Trustmaster firenze.css I found:
/* ============== Ratings CSS ============== */
/* jQuery.Rating Plugin CSS - http://www.fyneworks.com/jquery/star-rating/ */
div.rating{cursor:pointer;margin:0;clear:none;display: inline;}
div.rating:after{content:'.';display:inline;height:0;width:0;clear:none;visibility:hidden;}
div.cancel,div.star{float:left;clear:none;width:17px;height:15px;text-indent:0;cursor:pointer;display:inline;background:transparent;}
div.cancel,div.cancel a{background:url('img/system/delete.gif') no-repeat 0 -16px}
div.star,div.star a{background:url('img/system/star.gif') no-repeat 0 0px}
div.cancel a,div.star a{display:block;clear:none;width:16px;height:100%;background-position:0 0px}
div.star_on a{background-position:0 -16px!important}
div.star_hover a,div.star_live a:hover{background-position:0 -32px}
/* Read Only CSS */
div.star_readonly a,div.star_readonly a:hover{cursor:default !important}
/* Partial Star CSS */
div.star{background:transparent!important;}
/* END jQuery.Rating Plugin CSS */
Should be:
/* ============== Ratings CSS ============== */
/* jQuery.Rating Plugin CSS - http://www.fyneworks.com/jquery/star-rating/ */
div.rating-cancel,div.star-rating{float:left;width:17px;height:15px;text-indent:-999em;cursor:pointer;display:block;background:transparent;overflow:hidden}
div.rating-cancel,div.rating-cancel a{background:url(img/system/delete.gif) no-repeat 0 -16px}
div.star-rating,div.star-rating a{background:url(img/system/star.gif) no-repeat 0 0px}
div.rating-cancel a,div.star-rating a{display:block;width:16px;height:100%;background-position:0 0px;border:0;font-size:0}
div.star-rating-on a{background-position:0 -16px!important}
div.star-rating-hover a{background-position:0 -32px}
/* Read Only CSS */
div.star-rating-readonly a{cursor:default !important}
/* Partial Star CSS */
div.star-rating{background:transparent!important;overflow:hidden!important}
/* END jQuery.Rating Plugin CSS */
]]>
Wo, 02 Sep 2009 05:06:11 -0000
Ross # Trustmaster : A link to a page with ratings would be very helpful, otherwise we can only guess.

Sure, for instance: http://www.rossellapruneti.com/page.php?id=1]]>
Wo, 02 Sep 2009 03:03:49 -0000
Trustmaster Wo, 02 Sep 2009 02:12:23 -0000 Ross # Trustmaster : Those "other skins" might not be up2date. Sed-light is one to test first of all. If it doesn't show you ratings though it means something is wrong with JavaScript.

Thank you, Trustmaster. What should I check with the javascript? Is it OK to use those found in the Cotonti package? I tried to re-upload them more than once... At the moment I disabled the ratings and I am working on the other parts of the skin. However, I'd like to fix the ratings up too...]]>
Di, 01 Sep 2009 05:29:34 -0000
Trustmaster Ma, 31 Aug 2009 15:06:56 -0000 Ross
I assume it is something about the system or the core? Or my server?
:O]]>
Ma, 24 Aug 2009 01:42:02 -0000
Dr2005alex
What does
Dr2005alex:
Добавлено 4 Минуты спустя
mean?


Posted 4 minutes later]]>
Zo, 23 Aug 2009 20:15:46 -0000
Ross # Dr2005alex : Ross

Probably absent in the folder js file jquery.MetaData.js
Check!
Update to the reliability of the package folder js cotonti!

Добавлено 4 Минуты спустя:

And if the cache is to tpl then remove all of the folders /datas/cache/templates

Yes, I did check if all the jquery javascripts had been uploaded. They were.

I noticed in some skins there are two links at the beginning of rating.tpl:
both to jquery.MetaData.js and to jquery.rating.js.

In some other skins there is only the link to jquery.rating.js

I tried both - unsuccessfully.


I tried also to clean the cache - unsuccessfully.

What does
Dr2005alex:
Добавлено 4 Минуты спустя
mean?]]>
Zo, 23 Aug 2009 19:54:20 -0000
Dr2005alex Ross

Probably absent in the folder js file jquery.MetaData.js
Check!
Update to the reliability of the package folder js cotonti!

Добавлено 4 Минуты спустя:

And if the cache is to tpl then remove all of the folders /datas/cache/templates]]>
Zo, 23 Aug 2009 19:07:41 -0000
Ross # Kilandor : I think you should provide a URL to your site, it might prove alot more helpfull

wwww.rossellapruneti.com
of course, it is under construction]]>
Zo, 23 Aug 2009 18:38:37 -0000
Kilandor Zo, 23 Aug 2009 17:52:05 -0000 Ross
I took the files again from another Cotonti skin.

TO summarize:

  1. File ratings.tpl in the skin folder
  2. Css code in the css skin file; i.e.:
    /* ============== Ratings CSS ============== */
    /* jQuery.Rating Plugin CSS - http://www.fyneworks.com/jquery/star-rating/ */
    div.rating{cursor:pointer;margin:0;clear:none;display: inline;}
    div.rating:after{content:'.';display:inline;height:0;width:0;clear:none;visibility:hidden;}
    div.cancel,div.star{float:left;clear:none;width:17px;height:15px;text-indent:0;cursor:pointer;display:inline;background:transparent;}
    div.cancel,div.cancel a{background:url('img/system/delete.gif') no-repeat 0 -16px}
    div.star,div.star a{background:url('img/system/star.gif') no-repeat 0 0px}
    div.cancel a,div.star a{display:block;clear:none;width:16px;height:100%;background-position:0 0px}
    div.star_on a{background-position:0 -16px!important}
    div.star_hover a,div.star_live a:hover{background-position:0 -32px}
    /* Read Only CSS */
    div.star_readonly a,div.star_readonly a:hover{cursor:default !important}
    /* Partial Star CSS */
    div.star{background:transparent!important;}
    /* END jQuery.Rating Plugin CSS */
  3. jquery-ui.css in the skin folder
  4. jquery.rating.js in the js folder in the root of the site

What I get is several numbers in a vertical disposition. If I click on a number, the Rate It button is visible but then it doesn't register the vote. After the vote, the ten numbers change in a zero.

I don't see the stars. Only the numbers and while the page is refreshing small circles are appearing for a second then they become those numbers.

The problem affects page.tpl and list.tpl]]>
Zo, 23 Aug 2009 16:39:33 -0000
Trustmaster must not be a link to it in header.tpl! ratings.tpl does that alone, or you may encounter duplicate inclusion problems.]]> Vr, 21 Aug 2009 14:52:21 -0000 Ross
<script type="text/javascript" src=https://www.cotonti.com/"js/jquery.MetaData.js"></script>
	<script type="text/javascript" src=https://www.cotonti.com/"js/jquery.rating.js"></script>

but it doesn't work.
May it be related to my specific server?]]>
Vr, 21 Aug 2009 04:04:25 -0000
Trustmaster Vr, 21 Aug 2009 03:37:18 -0000 Ross Of course I copied contents from sed-light skin and css.
I put the link to the related javascripts in the header.tpl
However, ratings don't work. I just see numbers without links and not even order.

What could the problem be?]]>
Thu, 20 Aug 2009 22:45:18 -0000
tru3existance Vr, 07 Aug 2009 02:58:34 -0000 Dr2005alex Trustmaster:
Ratings need an update, so be sure to udpdate:
* skins/YOUR_SKIN/ratings.tpl - copy contents from sed-light skin
* your skin CSS - replace ratings styles with new stiles from sed-light.css, that section starts with
/* ============== Ratings CSS ============== */]]>
Vr, 07 Aug 2009 02:47:28 -0000
Trustmaster this article]]> Vr, 07 Aug 2009 02:47:01 -0000 tru3existance http://oblivion.recoding.net/cotonti/list.php?c=articles

the rating stars aren't showing up what should i do?]]>
Vr, 07 Aug 2009 02:32:44 -0000