Star Rating: star images available

Author Message

Sergi A

Monday 22 February 2010 2:48:59 am

Hello,

i noticed that, on creating/editing nodes, the attribute object ezStarRating is showed with no stars (just the message Rating: 0/5 (0 votes cast)). I would like to show the white stars, although author can't vote it.

The main problem i have, is that I have to show a list of other nodes in edit.tpl, and here i really need the stars to appear.

How can I do it?

thank you!

Sergi A

Wednesday 24 February 2010 12:30:39 am

i've been digging into the problem, and what I find is that the star_rating.css is not being loaded when creating nodes, so the <ul> <li> element are not those of the star-rating. If I force the loading of this css file, then i can see the stars. I would like to do it nicely, i think there is a ini file where i can add the star_rating.css so that it is loaded, but I can't find it. Then the page_head_style.tpl would add this css in the <head>.

I think the include of this file is related to the possibility for the users to vote, am I wrong? I guess that, not loading it, users will not be able to vote, which is likely to be required when the user creates a new node.

Please, correct me if i'm wrong!

cheers!

André R.

Thursday 25 February 2010 12:31:15 pm

Hi!

See the other post on how to solve this cleanly:

http://share.ez.no/forums/extensions/ezstarrating-not-loading-css-js-etc/%28offset%29/last

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.