RM 1.1 How can I show "watch this resource" to non-members?

HenrikHansen

Well-known member
How can I show "watch this resource" to non-members also.

I guess when clicked it should show the usual popup "you are not signed in" etc.

This way I can encourage more people to sign up, as I can show some of the features members have.
 
In the template 'resource_view_tabs' find:

HTML:
    <xen:if is="{$resource.canWatch}">
        <div class="extraLinks">
            <a href="{xen:link resources/watch, $resource}" class="OverlayTrigger watchLink" data-cacheoverlay="false"><xen:if is="{$resource.is_watched}">{xen:phrase unwatch_this_resource}<xen:else />{xen:phrase watch_this_resource}</xen:if></a>
        </div>
    </xen:if>

Replace with:

HTML:
        <div class="extraLinks">
            <a href="{xen:link resources/watch, $resource}" class="OverlayTrigger watchLink" data-cacheoverlay="false"><xen:if is="{$resource.is_watched}">{xen:phrase unwatch_this_resource}<xen:else />{xen:phrase watch_this_resource}</xen:if></a>
        </div>
 
Back
Top Bottom