• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

RM 1.2 Hiding the Rating Panel.

wang

Well-known member
#6
Thank you for taking the trouble to help me.
I did like you asked, but the side panel is still visible.
View attachment 137805
No problem at all sir.

I do not have the RM installed to be able to test this myself, but after taking a look at its xml file, I think that you can remove that part by either removing or commenting out this bit of code from the resource_list_item template.

HTML:
<div class="listBlock resourceStats">
        <div class="listBlockInner">
            <xen:include template="rating">
                <xen:set var="$rating">{$resource.rating_avg}</xen:set>
                <xen:set var="$hint">{xen:if '{$resource.rating_count} == 1', {xen:phrase rm_1_rating}, {xen:phrase rm_x_ratings, 'count={$resource.rating_count}'}}</xen:set>
            </xen:include>
            <div class="pairsJustified">
                <xen:if is="!{$resource.is_fileless}"><dl class="resourceDownloads"><dt>{xen:phrase downloads}:</dt> <dd>{xen:number $resource.download_count}</dd></dl></xen:if>
                <dl class="resourceUpdated"><dt>{xen:phrase updated}:</dt> <dd><a href="{xen:link resources/updates, $resource}" class="concealed"><xen:datetime time="{$resource.last_update}" /></a></dd></dl>
            </div>
        </div>
    </div>