jrlike it...showing this error--Target module not enabled

boplive
@boplive
11 years ago
345 posts
I uploaded the module twice...this is what I'm getting on my event and video page "Target module not enabled"

I tried it with jrseamless and I'm getting the same thing.
At first I thought it wasn't working becoz I also had the ratings but that wasnt the case after I remove the ratings from videos and events still getting the same error

I'm using this {jrLike_button}
is there something else I'm supposed to add or just that function to my templates
updated by @boplive: 12/20/13 07:24:33PM
paul
@paul
11 years ago
4,326 posts
You need a few parameters in the {jrLike_button} call. This is how I use it -
<div style="float:right;">{jrCore_module_function function="jrLike_button" action="dislike" module="jrAction" item=$item}</div>
<div style="float:right;">{jrCore_module_function function="jrLike_button" action="like" module="jrAction" item=$item}</div>
<div style="clear:both;"></div>
hth
Pa


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 11/20/13 07:46:50AM
paul
@paul
11 years ago
4,326 posts
There's another optional parameter - nolike=true
That will force un-clickable greyed-out buttons to show. Maybe useful if the visitor is not logged in.


--
Paul Asher - JR Developer and System Import Specialist
boplive
@boplive
11 years ago
345 posts
thanks Paul...that did the trick.
I should had know that the jr core module function was needed...I WAS thinking abt that last night...but neglect to take a moment and try that,,,GREAT WORK AS ALWAYS

Tags