Implementation of pagination #18589
Unanswered
sultanymbae
asked this question in
Q&A
Replies: 1 comment
-
|
Regardless of the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm using Orchard Core and I enabled pagination through ListPart on my custom content type (“News”). Pagination works functionally — for example, if I set PageSize = 2, only two items are displayed per page.
However, the pagination UI looks completely broken. It renders default HTML that does not match my site's design at all.
How can I customize or override the pagination HTML generated by ListPart?
I want full control over the markup so I can implement my own buttons, styles, arrows, etc.
Which template should be overridden?
I tried searching for templates like Pager, Pager_Link, Pager_Body, etc., but I am not sure which one ListPart actually uses internally.
Is there an official recommended way to apply custom pagination UI when using ListPart?
Can you tell me if there is another option to implement pagination please.
Any help or documentation reference would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions