Komento not working

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Mar 07, 2013 2:59 am
Reply with quote
Report this post
Hello,

Komento works in Joomla Articles, but it does not work in k2.

I contacted Komento (stackideas), and below is their response (they said its a template issue)"

"It seems like your template is not echoing the values from the trigger 'onK2CommentsCounter' properly. If you change it to the default Joomla 3.0 template (protostar), then Komento is loading properly.

You will have to contact your template provider regarding this. The issue is that the template it not echoing the values returned by the trigger 'onK2CommentsCounter'."

Can you please advise...
User avatar
Senior Boarder

GK User
Thu Mar 07, 2013 9:24 am
Reply with quote
Report this post
K2 is a 3rd party extension beyond our support so please contact with K2 support with this issue.
User avatar
Platinum Boarder

GK User
Thu Mar 07, 2013 9:45 am
Reply with quote
Report this post
Hello,

It works with the default Joomla 3 template and k2, but not with Gavick template and k2...

So the common denominator here is the gavick template.

Please help?
User avatar
Senior Boarder

GK User
Thu Mar 07, 2013 10:27 am
Reply with quote
Report this post
Please try to rename for test template/html/com_k2 directory - then let me know about results.
User avatar
Platinum Boarder

GK User
Thu Mar 07, 2013 11:35 am
Reply with quote
Report this post
@bkrztuk, for your information I have checked this last night and I believe following where the error is.
Code: Select all
Line 347 /templates/gk_creative/html/com_k2/templates/default/item.php

Code: Select all
<?php if($this->item->numOfComments>0 && $params->get('itemComments') && !JRequest::getInt('print') && ($params->get('comments') == '1' || ($params->get('comments') == '2'))): ?>


When above line is removed it does work however it also displays secondary GK comment form. So condition checking needs improving I believe.

Guest account or logged in, same results. See below screenshot. Results are before and after above line removed.
Code: Select all
http://oi45.tinypic.com/wtvqir.jpg


Or Perhaps move this code out before above condition.
Code: Select all
               <?php if($params->get('itemComments') && ( ($params->get('comments') == '2' && !$this->user->guest) || ($params->get('comments') == '1'))):?>
               <?php echo $this->item->event->K2CommentsBlock; ?>
               <?php endif;?>


See you around... ;)
User avatar
Platinum Boarder

GK User
Thu Mar 07, 2013 1:01 pm
Reply with quote
Report this post
bkrztuk wrote:Please try to rename for test template/html/com_k2 directory - then let me know about results.



Hello,

i dont know what this means?

__________

That being said, the person below seems to have shown where the issues lies....Yes?

Can we have a fix?
User avatar
Senior Boarder

GK User
Sat Mar 09, 2013 10:23 am
Reply with quote
Report this post
Hello,

Any further advancements on a fix for this?

Advice would be greatly appreciated.

Thanks,
User avatar
Senior Boarder

GK User
Mon Mar 11, 2013 8:51 am
Reply with quote
Report this post
@austenn01 please look at normanUK solution, this resolves this issue.
User avatar
Platinum Boarder


cron