Keyword

Problems related to comments

More
14 years 11 months ago #70574 by Lefteris
Replied by Lefteris on topic Problems related to comments
Hi. Your page is loading a lot of scripts so the error might be from any of them. If the extensions or the template is using jQuery, then it should loaded in no conflict mode.

Rich Powell said:Using Affinity RocketTheme, multiple js loads, getting the same error. Do have a form with id="comment-form" defined in page though. Also overriding the default k2 templates. Not loading jQuery. Any thoughts on troubleshooting the js? Latest version of k2 (Last update: September 9th, 2009 - v2.1)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #70575 by Kouassi Yao
Replied by Kouassi Yao on topic Problems related to comments
Just edit comments.php in mod-k2_comments/tmpl line 34. Remove 'written by'.

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #70576 by Rocky Romano
Replied by Rocky Romano on topic Problems related to comments
Is there any word as to whether or not this solution worked? Sounds like a pretty random solution...

Kouassi Yao said:Just edit comments.php in mod-k2_comments/tmpl line 34. Remove 'written by'.

Please Log in or Create an account to join the conversation.

  • Visual Impact Web Design
  • Visual Impact Web Design's Avatar
  • Offline
  • New Member
More
13 years 10 months ago #70577 by Visual Impact Web Design
Replied by Visual Impact Web Design on topic Problems related to comments
didn't work for me



Rocky Romano said:Is there any word as to whether or not this solution worked? Sounds like a pretty random solution...
Kouassi Yao said:Just edit comments.php in mod-k2_comments/tmpl line 34. Remove 'written by'.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #70578 by Cathy Frank
Replied by Cathy Frank on topic Problems related to comments
I too am having the problem and dumped hours of time into it. Would love to find a solution

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #70579 by Francesc Llorens
Replied by Francesc Llorens on topic Problems related to comments
I had the same problem; it was originated by a conflict between MooTools and Jquery.

(See this post for insights about the problem:preventing-jquery-and-mootools )

 

I put a line calling JQuery 1.4.2 on the index.php of my template. Then, the familiar error of the blank page with the "refreshing" tex after k2 comment showed.

 

Also, the error console showed an error from k2.js, "$("comment-form").addEvent is not a function".

 

So I've ripped off the line calling the jquery, installed the JB Library plugin from Joomla Baboo (JB Library)  and on the plugin parametres I chose the JQuery I was trying to load.  The remove parameters and Mootools parameters weren't changed.

 

Now my template works perfect.

 

So, the problem is a JQuery conflict, search carefully what javascript libraries you load.

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #70580 by tudor filip
Replied by tudor filip on topic Problems related to comments
hey guys

 

i found out the solution just add into www.mysite.com/index2.php

 

the fallowing lines

<?php $ref = $_SERVER; header( 'refresh: 3; url='.$ref); $_REQUEST = 'component'; include('index.php'); ?>

Please Log in or Create an account to join the conversation.

  • Alejandro Lavarreda
  • Alejandro Lavarreda's Avatar
  • Offline
  • New Member
More
13 years 1 month ago #70581 by Alejandro Lavarreda
Replied by Alejandro Lavarreda on topic Problems related to comments
Thanks tudor filip.. this solution totally works for me :)

tudor filip said:
hey guys

 

i found out the solution just add into www.mysite.com/index2.php

 

the fallowing lines

<?php $ref = $_SERVER; header( 'refresh: 3; url='.$ref); $_REQUEST = 'component'; include('index.php'); ?>

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum