- Posts: 8743
COMMUNITY FORUM
Problems related to comments
- Lefteris
-
- Offline
- Platinum Member
Less
More
15 years 6 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)
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)
Please Log in or Create an account to join the conversation.
- Kouassi Yao
-
- Offline
- New Member
Less
More
- Posts: 2
15 years 4 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.
- Rocky Romano
-
- Offline
- New Member
Less
More
- Posts: 7
15 years 2 weeks 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'.
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
-
- Offline
- New Member
Less
More
- Posts: 12
14 years 6 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'.
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.
- Cathy Frank
-
- Offline
- New Member
Less
More
- Posts: 3
14 years 2 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.
- Francesc Llorens
-
- Offline
- New Member
Less
More
- Posts: 8
13 years 9 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.
(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.
- tudor filip
-
- Offline
- New Member
Less
More
- Posts: 2
13 years 9 months 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'); ?>
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
-
- Offline
- New Member
Less
More
- Posts: 1
13 years 8 months 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'); ?>
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.