Jump to content

Caretta Soft rating stars issue


Guest PLMaster

Recommended Posts

Guest PLMaster

Using Caretta Soft on 4.2.2. When someone clicks to write a review, the review sections comes up as it should, showing five gray stars. When the person mouses over the stars in order to give it a star rating, the stars vanish, the user doesn't know what they're clicking on, and some just stop reviewing all together. I checked my skin folder, the icons are there for 0, .5 and 1. Anyone know how to fix this so the images show up after they're moused over?

Link to comment
Share on other sites

  • 1 year later...
Guest PLMaster

Thought I'd try this again but I still haven't been able to fix this. Here's the appropriate code bits:

<p class="right" id="rating_p"><span>{LANG_RATING}</span> 

<img src="images/general/px.gif" name="star0" width="15" height="15" id="star0" onmouseover="stars(0,'skins/{VAL_SKIN}/styleImages/icons/rating/');" style="cursor: pointer; cursor: hand;" alt="" />

<!-- BEGIN: review_stars -->

<img src="skins/{VAL_SKIN}/styleImages/icons/rating/{VAL_STAR}.gif" name="star{VAL_STAR_I}" width="15" height="15" id="star{VAL_STAR_I}" onmouseover="stars({VAL_STAR_I},'skins/{VAL_SKIN}/styleImages/icons/rating/');" style="cursor: pointer; cursor: hand;" alt="" />	

<!-- END: review_stars --></p>

So can someone see what I'm obviously missing and help me make it so that my stars don't vanish into the netherworld? Thanks.

Link to comment
Share on other sites

Hi

Ive had a look with Firebug and it looks like you have an error in your code, in viewProd.tpl. You are missing {VAL_ROOT_REL} on a couple of lines.

It should look like this

<p class="right" id="rating_p"><span>{LANG_RATING}</span> 

<img src="images/general/px.gif" name="star0" width="15" height="15" id="star0" onmouseover="stars(0,'{VAL_ROOT_REL}skins/{VAL_SKIN}/styleImages/icons/rating/');" style="cursor: pointer; cursor: hand;" alt="" />

<!-- BEGIN: review_stars -->

<img src="skins/{VAL_SKIN}/styleImages/icons/rating/{VAL_STAR}.gif" name="star{VAL_STAR_I}" width="15" height="15" id="star{VAL_STAR_I}" onmouseover="stars({VAL_STAR_I},'{VAL_ROOT_REL}skins/{VAL_SKIN}/styleImages/icons/rating/');" style="cursor: pointer; cursor: hand;" alt="" />	

<!-- END: review_stars --></p>

Lee

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...