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: JComments and templates without afterDisplayContent (like Artisteer)
Pages: [1]   Go Down
  Print  
Author Topic: JComments and templates without afterDisplayContent (like Artisteer)  (Read 18889 times)
0 Members and 1 Guest are viewing this topic.
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« on: January 28, 2010, 22:08:21 »

If you're using template made with Artisteer you may have problem with displaying comments list in full article view. This problem is related to Artisteer template. To fix it you need make some changes:

Open file /templates/templatename/html/com_content/article/default.php and check if there code like this:
Code:
<?php echo $this->article->event->afterDisplayContent?>

If no - you'll need add this string to the end of this file and save it. After this JComments would work in full article view without problem.
« Last Edit: October 08, 2010, 01:05:43 by smart » Logged

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

Karma: 0
Offline Offline

Posts: 1


Email
« Reply #1 on: June 21, 2010, 21:59:10 »

Hi Smart,

We are using MoviePlazza template and in the backend when we installed JComments it gave us the error about afterDisplayContent;.

We did what you said in this post and when we access any article there appears like if JComments was installed twice.  The same fields to add comments appear twice, and if you comment once, your comment appears twice.

If we remove the afterDisplayContent; from that file, JComments still works, the way is suppose to, but we are still getting the error that this template doesn't have the

echo $this->article->event->afterDisplayContent;

Please help.
Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #2 on: June 22, 2010, 01:00:51 »

If we remove the afterDisplayContent; from that file, JComments still works, the way is suppose to, but we are still getting the error that this template doesn't have the
Ignore this message (I've already answered same topic here: http://www.joomlatune.com/forum/index.php/topic,1778.msg6845.html#msg6845). In most cases it works right but on some templates it could shows wrong message Wink So ignore this message and don't worry about it.
Logged

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

Karma: 0
Offline Offline

Posts: 1


Email
« Reply #3 on: November 21, 2010, 13:38:35 »

Smart
I've been following your solution.
but still no change nothing.
the _POST proccess is not work well in my website coment form.

if I use SEF. every time I click send, redirect to index.php
if not, redirect to "#" aka not moving at all

anyone can give me suggestions?

my template is magz plazza.
thanks.
« Last Edit: November 21, 2010, 13:40:41 by kur4pik4 » Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #4 on: November 22, 2010, 17:42:51 »

the _POST proccess is not work well in my website coment form
Are you using jHackGuard plugin?
Logged

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

Karma: 0
Offline Offline

Posts: 1


« Reply #5 on: February 04, 2011, 21:48:59 »

Hi, apologies in advance as I know this is a repeat problem, but I have followed the instructions in the forum to no avail!

I have an Artisteer template so I didn't have the after displaycontent string in the default.php. I have added this (to the end of the file after the div tag) but am still getting no joy.

Can anyone help?! Thanks!
Logged
pikefisher
Newbie
*

Karma: 0
Offline Offline

Posts: 1


Email
« Reply #6 on: September 24, 2011, 01:27:10 »

Hi
I had this problem on a Yootheme Nano template  J1.5.23 and took a note of the first post and added the line as shown, but this did not resolve the problem, but threw up another error

I then changed this suggested code

Code:
<?php echo $this->article->event->afterDisplayContent?>

to the following:

Code:
$this->article->event->afterDisplayContent; ?>

and added this to the last line at the end of the default.php file as so:

Code:
include($base.'/config.php');
include($warp['path']->path('layouts:'.preg_replace('/'.preg_quote($base, '/').'/', '', __FILE__, 1)));
$this->article->event->afterDisplayContent; ?>

and the problem has been resolved

Its sorted my problem, hopefully any one who follows with the same problem may find this useful.

pikefisher
Logged
jackhadin05
Newbie
*

Karma: 0
Offline Offline

Gender: Male
Posts: 9



WWW Email
« Reply #7 on: October 01, 2012, 22:54:54 »

Hi
I had this issue for a Yootheme Nano template  J1.5.23 as well as took a note of the initial post because well as put the occupation since shown, but this would not solve the difficulty, however threw up another error
I then changed this recommended code
Logged

jackhadin05
Newbie
*

Karma: 0
Offline Offline

Gender: Male
Posts: 9



WWW Email
« Reply #8 on: October 15, 2012, 20:23:43 »

Hi, apologies in advance as I fully grasp this might be a reiterate issue, however I have followed the instructions inside the community discussion board to no avail!
I feature a specific Artisteer template very I didn't have the after displaycontent string in the nonpayment.php. I have put this (to the finish of the register following the div tag) however have constantly been still getting virtually no joy.
Can just about any person help?! Thanks!
Logged

Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: JComments and templates without afterDisplayContent (like Artisteer)
 
Jump to: