Hi everyone,
I have a template called “top10” which I’m using as an include to put in wherever I want the top 10 rated items to appear…
Now I’m sure I’m missing something but why would whatever this top10 include change depending on where I put it?
this is the code I’m using, which works great on the homepage…
<tr>
<td><strong>Rating</strong></td>
<td><strong>Track</strong></td>
</tr>
{exp:rating:rankings limit="10" form_name="review"}
<tr>
<td>{exp:rating:stats entry_id="{entry_id}" theme="default" precision="1" thousands="," fractions="."}{avg_rating}{/exp:rating:stats}</td>
<td >{song_title}<br/>
{song_artist}<br/>
<a href="{title_permalink="start/music_comment"}">» read / comment / rate</a></p></td>
</tr>
{/exp:rating:rankings}
but if I put this code somewhere else, such as in a comment preview template, nothing but the table outline is rendered…
Am I missing something really obvious? I thought that since I’d specified which form the ratings should come from, I thought the results would render wherever!
Any advice appreciated!
thanks
