Artists By Rating - jrRating Module
Design and Skin Customization
Thanks
@paul that got me headed in the right direction.
I want to be able to Rate an Artists profile page.
So I added this to my profile_header.tpl
{jrCore_module_function function="jrRating_form" type="star" module="jrProfile" index="1" item_id=$item._item_id current=$item.profile_rating_1_average_count|default:0 votes=$item.profile_rating_1_count|default:0 }
It returns this when viewing a profile page.
jrRating_form: item_id not set correctly
-----------------------------------------------
<a name="kev"></a>
I have the added tab etc set, but it's not reading the item_id
I added to the artists.tpl eg.
{assign var="rateclass" value="p_choice_active"}
{assign var="order_by" value="profile_rating_1_average_count NUMERICAL_DESC"}
and
<div class="{$rateclass}" onclick="window.location='{$jamroom_url}/artists/by_ratings'">Artists By Rating</div>
So the tab is there , is clickable etc but on load is empty ( of course as item_id can't be found and no profiles have been rated yet )
So back to the first thing as its not going to return something that it either can't find or has no value yet
So what am I missing?
updated by @madc: 12/27/13 12:05:54PM