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: How do i set up jcomments to only show on the last page of an article?
Pages: [1]   Go Down
  Print  
Author Topic: How do i set up jcomments to only show on the last page of an article?  (Read 1912 times)
0 Members and 2 Guests are viewing this topic.
matengi9
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« on: November 01, 2010, 23:00:32 »

Hi,

I have hundreds of articles on my site and each one averages several pages long. I don't want comments on every single page of the article - just on the last one of each. How do I format this?

Thanks!
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: November 04, 2010, 03:41:40 »

You should to change content event from onAfterDisplayContent to onPrepareContent in Content - JComments plugin's parameters.
Logged

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

Karma: 0
Offline Offline

Posts: 4


« Reply #2 on: November 04, 2010, 09:08:20 »

hi,
thanks for your reply - that didn't change the pages, though, is there some other setting I should change?
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #3 on: November 04, 2010, 20:43:59 »

You need to clear content's cache after you've made this change.
Logged

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

Karma: 0
Offline Offline

Posts: 4


« Reply #4 on: November 05, 2010, 12:44:18 »

hi,
i did do that, but it still is showing on all pages.
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #5 on: November 05, 2010, 17:25:17 »

Oh, sorry. I've forgot about plugins ordering. I've upated topic with solution. You need also change plugins order - you need to set "Content - Pagebreak" after "Content - JComments".
Logged

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

Karma: 0
Offline Offline

Posts: 4


« Reply #6 on: November 07, 2010, 03:38:12 »

ok, thanks, now it is working!
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: How do i set up jcomments to only show on the last page of an article?
 
Jump to: