×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Comments per page

Comments per page 15 years 6 months ago #3870

  • Coms
  • Coms's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 33
  • Thank you received: 0
Hello and hank you for a great component, it is the best out there for Joomla. I am wondering something though.

Is there a way when I limi the number of comments per page to 10 for example, is there a way to move the next page of comments link to the bottom instead of the top? Right now when I enable this the
page 1 2 3 4
is at the top instead of the bottom of the page. Is there anyway to fix this is? I think it would be more user friendly with the next page link at the bottom, instead of the top. Is there a setting or code to change this?

Thanks

Comments per page 15 years 6 months ago #3887

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Well, if you are asking if there is a way to limit the comments to 10 per page and after that if it is possible to move the navigation down to the bottom - then there must be a way to have 10 comments per page, so that you can get a navigation? Do you follow my thoughts? No, me neither :D

Ok, open your template and find the section that creates the navi and move it to the bottom.

Comments per page 15 years 5 months ago #4474

  • Coms
  • Coms's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 33
  • Thank you received: 0
2 Questions,
This is the code that I found that I beleive is the navi that you are referring to:

<table align='center' id='CommentPageNav' width='100%' cellpadding='0' cellspacing='0' border='0'>
<tr><td>
{pagenav}
<!-- here will be inserted the page nav -->
{/pagenav}
</td><td id='JOSC_busypage'></td></tr>
</table>

My question is where do I move it too? Right before the part where it has the code to display powered by Joomla Comment?

My second question that I need help with is:
When I do set the component to display only 15 comments per page about 40 comments actually show up.

Why is this? My comments are nested, do the nested comments not count towards the amount that I specify? Is there any way to fix this?

Comments per page 15 years 5 months ago #4502

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
No, nested comments doesn't count. We can count them, but tell me what do we do on the second page.

example - show 5 comments per page:

page 1
comment
-- nested
----nested
nested
comment
--nested

If we count:
page1
comment
-- nested
----nested
nested
comment
page2
--nested

--nested to what??? Where should this comment start?

Did you solve your problem with the pagination position?
  • Page:
  • 1
Time to create page: 0.099 seconds