Closed (fixed)
Project:
Simple Karma
Version:
5.x-1.6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
14 Nov 2007 at 22:11 UTC
Updated:
18 Nov 2007 at 10:23 UTC
quick question:
where do I insert the
if(module_exists('simple_karma')){ print simple_karma_template_forms();}
in the page.tpl.php of my theme?
thanks!
Comments
Comment #1
mercmobily commentedQuick answer: wherever you like, really :-D
The important thing is that it's towards the top, because there are important JS variables there. I'd put it right avter actually.
I updated the user documentation as well.
Merc.
Comment #2
mercmobily commentedComment #3
guppydrupal commentedThis may be related to where I'm putting the
if(module_exists('simple_karma')){ print simple_karma_template_forms();}in the page.tpl.php,
I put it after at the end of the head section like this:
head
if(module_exists('simple_karma')){ print simple_karma_template_forms();}/head
Sorry if I'm an idiot on this, I tried to put it in the section that didn't fix the error message.
I am getting this error message when I try to rate the comments:
Karma Error: Communication (0)
what's goin' on here?
this module is incredible by the way, thanks for all of the work.
Comment #4
mercmobily commentedHi,
No problem at all. I am here to help.
The module obviously needs some ironing out - that's what I here for!
It's best to put the forms right after the body tag. I am looking for a way so that I don't have to ask you guys to put that ugly line in the templates, but am finding it a little hard.
However, the communication error might be something else. Question: is your Drupal in the domain's root directory? If the answer is "no", please install the next version of the module, 1.7, and report back (1.7 fixes a bug that prevented the module to work unless Drupal is running in the domain's root).
ALSO, you _need_ to have clean URLs enabled.
If you send me your URL, I will have a look for you :-D
Bye!
Merc.
Comment #5
mercmobily commentedHi,
I will close this bug unless you tell me otherwise...!
Merc.
Comment #6
mercmobily commentedCLosed! Pirandelo confirmed that the new version, 1.7, fixes it...