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

Pagination Option for browsing long lists #138

Open
ghost opened this issue Oct 20, 2022 · 3 comments
Open

Pagination Option for browsing long lists #138

ghost opened this issue Oct 20, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 20, 2022

A page break after a to be defined number of items will be helpful. Thanks.

===== Sample =====
<pagelist&pagebreak5>
  * [[:blog:item1| |item 1]] 
  * [[:blog:item2| |item 2]] 
  * [[:blog:item3| |item 3]] 
  * [[:blog:item4| |item 4]] 
  * [[:blog:item5| |item 5]] 
  * [[:blog:item6| |item 6]] 
  * [[:blog:item7| |item 7]] 
  * [[:blog:item8| |item 8]] 
  * [[:blog:item9| |item 9]] 
</pagelist>

===== Result ======
**Page 1**
item1
item2
item3
item4
item5
**Older Records** <- this is a link

**Page 2**
item6
item7
item8
item9
**Newer Records** <- this is a link

Hopefully my sample explains my idea / wish.

@ghost
Copy link
Author

ghost commented Oct 20, 2022

Live sample with a page break done by hand, means each page with a new pagelist: https://kaineugebauer.de/doku.php?id=mein_blog

@Artguardian
Copy link

I agree it's a very important issue to have a custom pagebreak feature available. To be able not to download all 100 records, for example, but to display only 20-30 items at once. Thank you.

@Klap-in
Copy link
Member

Klap-in commented Aug 25, 2023

I just added &limit=5, but that does not add something to show the items that are left out.
You actually ask for pagination, which let the user step through the list per e.g. 10 items with next/previous.

@Klap-in Klap-in changed the title Page Break Pagination Option for browsing long lists Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants