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: Prevent comments displaying on multiple pages?
Pages: [1]   Go Down
  Print  
Author Topic: Prevent comments displaying on multiple pages?  (Read 955 times)
0 Members and 2 Guests are viewing this topic.
johnnyb
Newbie
*

Karma: 0
Offline Offline

Posts: 2


« on: July 26, 2010, 21:02:47 »

When an article with comment(s) has page breaks, is it possible to prevent comments from showing on every page, and make them only appear at the end of the article?

At present it looks like multi page articles are finished on page 1, because the comments appear there.

Other than that one quirky thing, what a great product we've found this to be!

Thanks

John
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: July 27, 2010, 12:42:25 »

1. Go to Joomla's plugin manager, select Content - JComments plugin and change parameter Content Event from onAfterDisplayContent to onPrepareContent.

2. In Joomla's plugin manager change plugins order - you need to set "Content - Pagebreak" after "Content - JComments".

But in my mind this isn't good solution. When user reads in blog that some article has 5 comments and clicks on this link he wants to read comments. But in this case he will got first article's page without any comments. And this could confuse him. Also there is no way to change this link to point to the last article's page. This because I prefer show comments on every page and allow users to comment all parts of the article.
« Last Edit: November 05, 2010, 17:24:14 by smart » Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: Prevent comments displaying on multiple pages?
 
Jump to: