zikula/core

Zikula 3.0.3 with Bootstrap 3.0.3 Theme: Pagination should fit in one row

Closed this issue · 12 comments

Q A
Zikula Version 3.0.3

Summary

When you have a lage list of entries in a list, the pagination links fills many rows. That looks bad an offers no good user experience

Desired Behavior

The pagination links should fit in only one row. I think this is usual.

Possible Solution

There are many solotions and examples. e.g. https://www.smashingmagazine.com/2007/11/pagination-gallery-examples-and-good-practices/

Context

I have large lists and so the pagination links fills many rows. That looks bad an offers no good user experience

how do you suggest this should look?

Something like this for example:
image

Guite commented

Just saw this:

image

After clicking on the three dots a modal appears allowing to choose a page number:

image

Not bad. But why not an input field instead of the three dots, where you directly can enter the desired page number?

Guite commented

Because it could be confusing to some users?

Guite commented

Indeed a good point 😉

here is an example: https://flaviusmatis.github.io/simplePagination.js/

I provide this only for reference, I do not suggest using this library.

I would like to somehow accomplish any changes to our current pagination only in JS. Ideally, this JS would still use the bootstrap styles. Do either of you know enough JS to help?

On the other hand, this is what stackoverflow has:

Screen Shot 2020-11-25 at 11 15 59 AM

you cannot navigate to the hidden posts without paging through.

here is an example: https://flaviusmatis.github.io/simplePagination.js/

i like it!

I provide this only for reference, I do not suggest using this library.
I would like to somehow accomplish any changes to our current pagination only in JS. Ideally, this JS would still use the bootstrap styles. Do either of you know enough JS to help?

I unfortunately do not.

Thank you! Works very well!