This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » Star Rating: star images available
expandshrink

Star Rating: star images available

Star Rating: star images available

Monday 22 February 2010 11:48:59 am - 2 replies

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!

Wednesday 24 February 2010 9: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!

Thursday 25 February 2010 9:31:15 pm

Hi!

See the other post on how to solve this cleanly:

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

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from