Products
Demo
Forum
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
May 24, 2012, 05:50:43
Advanced search »»
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
Posts: 4
How do i set up jcomments to only show on the last page of an article?
«
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
Gender:
Posts: 2559
Re: How do i set up jcomments to only show on the last page of an article?
«
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
Posts: 4
Re: How do i set up jcomments to only show on the last page of an article?
«
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
Gender:
Posts: 2559
Re: How do i set up jcomments to only show on the last page of an article?
«
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
Posts: 4
Re: How do i set up jcomments to only show on the last page of an article?
«
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
Gender:
Posts: 2559
Re: How do i set up jcomments to only show on the last page of an article?
«
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
Posts: 4
Re: How do i set up jcomments to only show on the last page of an article?
«
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?
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Announcements
-----------------------------
JComments component
-----------------------------
=> General discussion
=> Suggestions, Wishlists & Feature Requests
=> Integration with third-party extensions
===> AlphaUserPoints
===> CommunityBuilder
===> K2 JComments
=> Translations
=> Bug-reports
-----------------------------
ProofReader component
-----------------------------
=> General discussion
=> Suggestions, Wishlists & Feature Requests
=> Translations
=> Bug-reports
-----------------------------
Other extensions
-----------------------------
=> Plugins
=> Modules
Loading...