[TW5] How to divide long list of items by pages?

80 views
Skip to first unread message

sini-Kit

unread,
Aug 15, 2016, 7:20:57 AM8/15/16
to TiddlyWiki
Hi! In my project  I have a very long list of tiddlers with pictures (1000+ items). I put them to my tiddler by <$list filter="... but my page becomes very long. So I want to find the way to divide automatically this page by 50 items on one page. I can make it manually  by limit before and after in my list, but the number of items often changes it can be 10 and 1000+ and I don't want to see empty pages.

I am looking for solution, or for ready macros for this purposes.

Eric Shulman

unread,
Aug 15, 2016, 8:06:49 AM8/15/16
to TiddlyWiki
On Monday, August 15, 2016 at 4:20:57 AM UTC-7, sini-Kit wrote:
Hi! In my project  I have a very long list of tiddlers with pictures (1000+ items). I put them to my tiddler by <$list filter="... but my page becomes very long. So I want to find the way to divide automatically this page by 50 items on one page. I can make it manually  by limit before and after in my list, but the number of items often changes it can be 10 and 1000+ and I don't want to see empty pages.

I am looking for solution, or for ready macros for this purposes.

Try this:

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
InsideTiddlyWiki: The Missing Manuals

PMario

unread,
Aug 15, 2016, 8:06:56 AM8/15/16
to TiddlyWiki
On Monday, August 15, 2016 at 1:20:57 PM UTC+2, sini-Kit wrote:
Hi! In my project  I have a very long list of tiddlers with pictures (1000+ items). I put them to my tiddler by <$list filter="... but my page becomes very long. So I want to find the way to divide automatically this page by 50 items on one page. I can make it manually  by limit before and after in my list, but the number of items often changes it can be 10 and 1000+ and I don't want to see empty pages.

I am looking for solution, or for ready macros for this purposes.

I don't know a macro for this purpose. ... but would it be possible to add some more "category" tags to those tiddlers? It would give you the possibility to use the standard TOC table of content macros.
I know, it's a bit of work, but imo worth the effort.
-m
Reply all
Reply to author
Forward
0 new messages