Pagination for view and pagination limit
Permalink 2 users found helpful
Hello,
I am new user of concrete 5. I am facing a problem while imlementing pagination. Can someone told me how to implement pagination in concrete 5 which functions are used for pagination.
Thanks.
I am new user of concrete 5. I am facing a problem while imlementing pagination. Can someone told me how to implement pagination in concrete 5 which functions are used for pagination.
Thanks.
What are you trying to paginate? If you are using the Page List block you can check the box there for show pagination, otherwise the answer varies by what you are trying to do.
I create a package where i am fetching data from table. I want to implement pagination on that data which is shown on a single page.
Did you create a model that extends the DatabaseItemList to handle this data or are you just doing a straight query?
Thanks hutman for your quick responses. I did not create model. I am fetching data direct by queries.
You will have to build this logic into your single page controller to read the page variable from the URL and get the right records from your query, then manually add pagination to the bottom of your single page. If you were using model files most of this is built in.