Displaying more rows

chriso0258 04 Jun, 2012
I've uploaded some data to my db table. There are approximately 300 entries. However, when I go to view them on my website, I can only see 20 with no way to see anymore. I don't necessarily want a visitor to view all 300 at once. How can I set it up to where there is an option for a visitor to view 20, 30, 50, All, etc.?

Thanks.
GreyHead 04 Jun, 2012
Hi chris0258,

From the code it looks as though the pagination block should be added automatically in an Auto Listing if a list limit is set. Try changing the default setting on the FrontEnd List Settings | General tab and see if that makes a difference.

Bob
chriso0258 04 Jun, 2012
I was using the "Custom Listing Setting" to customize the output. When I changed to "Auto Listing"->yes the drop pagination did show up.

Also, can the pagination be changed to list the pages horizontally and not vertically?
GreyHead 04 Jun, 2012
Hi chriso0258,

In the custom listing please try adding {paginator} to the Header or Footer box.

Bob
chriso0258 04 Jun, 2012
That works great Bob. Thanks. Is there any attribute that will align the pagination horizontally instead of vertically?
GreyHead 05 Jun, 2012
Hi chriso0258,

I don't think so - but I'm pretty sure that ChronoForms just uses the pagination block from your template so you may be able to edit that, or borrow one from another template.

Bob
chriso0258 06 Jun, 2012
Thanks Bob. If anyone is interested, I put the following in my template.css file.

.list-footer li {float:left;}
bitsparki 21 Oct, 2012
Im having the same problem...

Which template.css file is being talked about here:

I put the following in my template.css file.

.list-footer li {float:left;}

GreyHead 21 Oct, 2012
Hi bitsparki,

It's most likey the one in the current template folder for chriso0258's site but templates vary widely. You can check in your own site using your web browser web developer tools to check out the CSS for the pagination.

You could probably also add it in a Load CSS action in your form.

Bob
This topic is locked and no more replies can be posted.