Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
MisterFau opened this issue Nov 21, 2020 · 12 comments
Closed
Assignees
Labels
Milestone

Comments

@MisterFau
Copy link

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

@MisterFau
Copy link
Author

image

@craigh
Copy link
Member

craigh commented Nov 21, 2020

how do you suggest this should look?

@MisterFau
Copy link
Author

Something like this for example:
image

@Guite
Copy link
Member

Guite commented Nov 24, 2020

Just saw this:

image

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

image

@MisterFau
Copy link
Author

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

@Guite
Copy link
Member

Guite commented Nov 24, 2020

Because it could be confusing to some users?

@MisterFau
Copy link
Author

@Guite
Copy link
Member

Guite commented Nov 24, 2020

Indeed a good point 😉

@craigh
Copy link
Member

craigh commented Nov 24, 2020

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?

@craigh
Copy link
Member

craigh commented Nov 25, 2020

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.

@MisterFau
Copy link
Author

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.

@craigh craigh added this to the 3.1.0 milestone Dec 30, 2020
@Guite Guite self-assigned this Feb 7, 2021
@Guite Guite closed this as completed in 25b4c75 Feb 16, 2021
Guite added a commit that referenced this issue Feb 16, 2021
@MisterFau
Copy link
Author

Thank you! Works very well!

Guite added a commit that referenced this issue Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants