Follow me skin - rate, like, tags for a custom module
Design and Skin Customization
The FollowMe skin overrides the templates of most 'regular' modules and this is the reason the skin doesn't recognise custom modules. One of the things in the skin module item_detail template is this code -
{* bring in module features *}
<div class="action_feedback">
{jrFollowMe_feedback_buttons module="jrBlog" item=$item}
{if jrCore_module_is_active('jrRating')}
<div class="rating" id="jrBlog_{$item._item_id}_rating">
{jrCore_module_function function="jrRating_form" type="star" module="jrBlog" index="1" item_id=$item._item_id current=$item.blog_rating_1_average_count|default:0 votes=$item.blog_rating_1_number|default:0}
</div>
{/if}
{jrCore_item_detail_features module="jrBlog" item=$item}
</div>This brings the item features into the bar under the item detail.
I've created an Article module with Aparna and into its item_detail.tpl template I replaced the existing {jrCore_item_detail_features module="jrArticle" item=$item} call with the above code (changing 'Blog' to 'Article' ) -
{* bring in module features *}
<div class="action_feedback">
{jrFollowMe_feedback_buttons module="jrArticle" item=$item}
{if jrCore_module_is_active('jrRating')}
<div class="rating" id="jrBlog_{$item._item_id}_rating">
{jrCore_module_function function="jrRating_form" type="star" module="jrArticle" index="1" item_id=$item._item_id current=$item.article_rating_1_average_count|default:0 votes=$item.article_rating_1_number|default:0}
</div>
{/if}
{jrCore_item_detail_features module="jrArticle" item=$item}
</div>That seems to have worked. There may well be other changes that you need to do, but this is where you need to work.
hth
updated by @paul: 02/28/18 08:12:13AM