jrLike_button

alt=
@emdiamond
10 years ago
104 posts
Hi,

Just installed jrlike buttion. It works fine on the detail pages.

I was trying to add it to the nova skin index.tpl. I pasted the following code all over the index.tpl but can't get it to show. Cleared cache and ran integrity checks as well.

Where's a good tmp and place to stick this code to see it work?

Thanks

{jrCore_module_function function="jrLike_button" action="dislike" module="jrAction" item=$item}
{jrCore_module_function function="jrLike_button" action="like" module="jrAction" item=$item}

updated by @emdiamond: 04/27/14 09:12:53PM
paul
@paul
10 years ago
4,326 posts
To like individual actions it needs to go in the jrAction item_list.tpl
Either edit the template with the editor in the ACP or create a skin file called jrAction_item_list.tpl and copy the module template code to it.
When editing that template note that there are three code sections to it. The first for shared actions, the second for activity actions, and the third for detail actions. I'd suggest that the Like buttons would need to go in the latter two.
hth
Pa


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 03/28/14 01:57:59PM

Tags