Return all items in a long list

iamtimbo
@iamtimbo
10 years ago
301 posts
I've added scrollbars to a list of results created via the Construction Kit, but no matter what value I set the limit to, it only returns the first 128 or so (lost count and kept inadvertently clicking on the links!).

I'll need to do this a lot on different pages, so is there a limit = none equivalent?
updated by @iamtimbo: 12/22/16 11:55:59AM
iamtimbo
@iamtimbo
10 years ago
301 posts
Hang on - update. This is a Firefox issue, sort of. Testing about:

Firefox - only shows the first 128 or so in the list
IE - Works fine
Chrome & Safari on iOS - Shows whole list but formats in different font size about two-thirds of the way down the list. You can see it at iamtimbo.com/dorset bewteen Nottington and Oakdale...
updated by @iamtimbo: 02/04/15 06:56:06AM
michael
@michael
10 years ago
7,793 posts
the construction kit list is the same as {jrCore_list} (only difference is its in the editor instead of a .tpl file) so the docs for here are applicable.

"{jrCore_list}"
https://www.jamroom.net/the-jamroom-network/documentation/development/89/jrcore-list

The default limit, if i remember correctly, is 12 if none is set. There is no unlimited because that could be crazy huge.

the combination of page, pagebreak and pager can be used like limit too if you want to get results from a different ordering section.

eg:
{jrCore_list module="jrAudio" limit="30"}

will get you from 1~30 of the audio modules items.

but
{jrCore_list module="jrAudio" page="2" pagebreak="30"}
will give you from 31~60

and if you add pager=true to that you get the buttons to change pages if you want them.
iamtimbo
@iamtimbo
10 years ago
301 posts
Hi Michael,

Yes - think I'm all good with the jrCore_list (at the moment!) and the pager - the issue is that I'm sorting a list that gives me 27 pages of results - and always will. Using a fixed height div with scroll bars works in principle, it's just that its behaving differently in IE, Firefox and Chrome, as in the second post....
michael
@michael
10 years ago
7,793 posts
so if im understanding correctly the question is now a CSS question about fixed height div's not looking the same across browsers?

Got a link so I can fiddle with firebug?
iamtimbo
@iamtimbo
10 years ago
301 posts
Hi Michael,

I just collaged an image of the issue in different browsers, and the realised I can't upload it here! Go to www.iamtimbo.com/dorset and look at the big list on the left. To summarise:

In IE it's perfect
In Chrome and Safari the formatting changes between Nottington & Oakdale
In Firefox it only shows the first 128 or so on the list...

Combination.jpg
Combination.jpg  •  154KB


updated by @iamtimbo: 02/05/15 04:56:26AM
paul
@paul
10 years ago
4,335 posts
Tim - Update your post and you'll get the option to include an image file.


--
Paul Asher - JR Developer and System Import Specialist
iamtimbo
@iamtimbo
10 years ago
301 posts
Done - I *knew* I'd seen the option somewhere!