Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.5.32, order_by, pagination, shortcode, template
- This topic has 3 replies, 2 voices, and was last updated 5 years, 1 month ago by
Joseph Walton.
-
AuthorPosts
-
03/24/2017 at 9:18 pm #417084
Joseph Walton
ParticipantHello,
Looking for a way to show all entries on the main page.
I thought I had seen this somewhere but cannot find it in the documentation or forum posts. Seems like a shortcode will do it but can’t find one.
I have 181 entries and currently the main directory page shows 20 per page and 10 pages.
I’d like there to be one page. In particular this is because the client group would like to be able to sort by department and have the sort be done based on all the entries.
Thank you,
Joe
03/24/2017 at 9:25 pm #417085Joseph Walton
ParticipantHowever, since the Search feature works against the whole dataset, is there a way to make the Sort of a given field work against the whole data set?
Maybe I can switch the view to have it display by Department which would be alphabetized?
Any thoughts would be appreciated.
Thank you,
Joe
03/27/2017 at 2:11 pm #417346Steven Zahm
Keymaster@ Joseph
re: Looking for a way to show all entries on the main page. I have 181 entries and currently the main directory page shows 20 per page and 10 pages.
Which template are you using? All templates but cMap you would use the
page_limit
limit shortcode option, like sopage_limit=50
or disable pagination withenable_pagination=false
.If you are using cMap, you can use the Template Customizer to change the pagination settings (you can use the shortcodes if you wish, but the customizer is preferred).
I very highly recommend display that many entries at once. It’ll make the page load much more slowly. This is not a bug or limitation in Connections. The same would happen if you tried to display that many WordPress posts on a single page. Depending on your server/web host, I would recommend more than 50–100. You could try it and see if the load time is acceptable to you.
re: since the Search feature works against the whole dataset, is there a way to make the Sort of a given field work against the whole data set?
Not sure I really understand the question. You can change the default sort order field. I think that is what you are asking. See the doc page for the order_by shortcode option.
Hope that helps!
03/30/2017 at 2:23 pm #418201Joseph Walton
ParticipantThis worked perfectly. Page load for 182 is just fine. I am using the ListView template you sent me directly.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.