I installed the EE Entry Rating Module yesterday from silenz.org
It was really easy to setup and use, but I haven’t had any success sorting by the highest rated entries.
I’m using the example code straight off the site – the only modification I made to the code is inserting my weblog name:
{exp:entry_rating:order_by_rating type="overall" limit="5"}
{exp:weblog:entries weblog="myweblog" entry_id="{order_by_rating}" sortby="rating" dynamic="off"}
<a href="http://{path=site/article}">{title}</a>
{exp:entry_rating:show_rating entry_id="{entry_id}"}({overall_vote}){/exp:entry_rating:show_rating}
{/exp:weblog:entries}
{/exp:entry_rating:order_by_rating}
This outputs a list, but it isn’t ordered by by rating – rather, it’s ordered by descending entry date.
I left a comment on the site, but I’m not sure if I should expect a response, so I thought I’d ask here.
Anybody know what could be going wrong?
If the problem isn’t with my EE tags, it’s probably in the php – and I’m an absolute hack. Can’t figure out what’s going on in there with any degree of certainty:)
Ho.
ly.
crap.
I never enabled the extension.
Can you write a module that incorporates a {restore_pulled_out_hair} tag? That would be great.
I probably spent 75% of my waking hours poking at the php over the last two days. Talk about a weekend well spent:)
You’re awesome, silenz. This mod is sweet.
BTW: I just got it working with a 1-10 voting scale. A small accomplishment for some, but for a self-proclaimed php hack I’m pretty pleased with myself.
Mostly, it speaks for how easy this is to customize.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.