We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

solspace rating weirdness

Development and Programming

michaelTSCPL's avatar
michaelTSCPL
105 posts
17 years ago
michaelTSCPL's avatar michaelTSCPL

I am having some issues with the rating module from Solspace. If I add more than one rating to a post my page will completely go blank. Has anybody else seen this happen?

Here is the code that I am using to pull a highest rated section:

Highest Rated
{exp:rating:rankings form_name="rating" precision="2" thousands="," fractions="." limit="10" style="nested" }
<span class="numbering">{count}. </span>  <a href="http://{comment_url_title_auto_path}"> {title}</a></strong>
{/exp:rating:rankings}

and to show the stars on the page:

{exp:rating:stats entry_id="{entry_id}" theme="default"} 
<div id="rating">{stars_overall_avg}</div> 
Based on {overall_count} Rating{if overall_count != “1"}s{/if} 
{/exp:rating:stats}
       
michaelTSCPL's avatar
michaelTSCPL
105 posts
17 years ago
michaelTSCPL's avatar michaelTSCPL

I pulled off both sections (highest rated and showing the rating) and the page displays without error. I am now in the process of adding them back in. I have the ranking section in and it is still showing the page so there is something in the rating:stats that is causing a conflict witht the rest of the page.

       
michaelTSCPL's avatar
michaelTSCPL
105 posts
17 years ago
michaelTSCPL's avatar michaelTSCPL

I replaced the exp:rating:stats code without the stylesheet info and this has seemed to fix the issue I was having.

       
Solspace's avatar
Solspace
106 posts
17 years ago
Solspace's avatar Solspace

You have a curly quote in your overall_count parameter. Check that too.

mk

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.