Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    General discussion    Topic: [Solved] Problems running JComments
Pages: [1]   Go Down
  Print  
Author Topic: [Solved] Problems running JComments  (Read 1458 times)
0 Members and 2 Guests are viewing this topic.
tonyn67
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« on: August 02, 2010, 16:48:33 »

Hi,

My website is 'www.homeloaninnovation.com'.  I've installed JComments with no problems.  For some reason I can't add any comments.  After pressing the "Send" button, the page simply goes to the top, with no comment added an no message telling me what the problem is.  

I'm using a specific template from Template Monster.  

Can you/someone please help?

Thanks,

Tony
« Last Edit: August 11, 2010, 12:37:33 by smart » Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: August 02, 2010, 19:02:04 »

Your template is wrong and has no nessesary code. You need open index.php file of your template and add this line:
Code: (php)
<jdoc:include type="head" />
after:
Code:
<head>
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
tonyn67
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« Reply #2 on: August 04, 2010, 02:24:27 »

Smart,

Thanks for the reply.  I've checked the index.php for the template.  It does have the entry you suggested.  Still struggling.

Tony

Your template is wrong and has no nessesary code. You need open index.php file of your template and add this line:
Code: (php)
<jdoc:include type="head" />
after:
Code:
<head>

Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #3 on: August 04, 2010, 12:30:21 »

Thanks for the reply.  I've checked the index.php for the template.  It does have the entry you suggested.  Still struggling.
Hm... Attach here your template's index.php and I'll check it.
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
tonyn67
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« Reply #4 on: August 07, 2010, 00:40:35 »

It's attached.  Thanks.


* index.php (6.03 KB - downloaded 235 times.)
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #5 on: August 10, 2010, 13:21:33 »

It's attached.  Thanks.
remove these lines:

Code:
<?php
$user 
=& JFactory::getUser();  
if (
$user->get('guest') == 1) {  
$headerstuff $this->getHeadData();  
$headerstuff['scripts'] = array();  
$this->setHeadData($headerstuff); }  
?>

This is strongly incorrect code - it removes ALL scripts from page head and broke down all extensions that uses their own JavaScripts
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
tonyn67
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« Reply #6 on: August 11, 2010, 03:04:26 »

That's terrific, it works.  Many thanks!!!  Tony
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: [Solved] Problems running JComments
 
Jump to: