Forums

Variable Pagination?

BobN 08 Dec, 2022
I'm new to ChronoForms. So far it looks like a good replacement for Fabrik, which is not supported on Joomla 4.

Does anyone know how to make the pagination variable? In Joomla I'm able to vary the articles list, like here:

https://friendsofsilverbrook.org/j4test/obituaries/obituaries-list

I have the pagination set for 25 currently here in my ChronoForms app through the Read Data control:

https://friendsofsilverbrook.org/j4test/search/grave-search4

I can live with 25. But giving the user the option to change to 10 or 100 would be nice for variable screen geometries.

Thanks.
BobN 12 Feb, 2023
Bump. I decided to go live with a fixed 25-line form for now. If anyone has ideas on how to make it variable (10, 25, 50, 100, 500 lines), please reply.

Here is the live page:

https://friendsofsilverbrook.org/site5/search/grave-search

Much appreciated.
--Bob.
wbuk 12 Feb, 2023
Hi Bob,

I've had a look at your page. It appears the dropdown menu for the different list length is there, but somehow some of the javascript is missing. Have you got javascripts on this page? If not, something else is blocking the rendering of the dropdown menu's classes I think.

What yours look like:


What it should look like:


Basically your "menu" div is missing the classes "transition" and "hidden" for some reason.

I think it's because you have the "paginator" block nested within another block? Trying taking it out of the other block, and use {view:paginator_name} instead.
BobN 12 Feb, 2023
wbuk,
I've moved the paginator control out of the container and set its attribute to hidden.


I think I need to do something with the limits in the Actions Read Data to get it to more than just "25".


I have no idea how to add missing Javascript.

Please be kind. This is my first Chronoforms application.

Thanks,
--Bob.
wbuk 12 Feb, 2023
Hi Bob,

No you don't have to do anything to add the classes as they should be already set, I was just saying for some reason your "menu" element is missing some classes.

I've tried different numbers for the Limit field but it doesn't break the list length selector like yours did, so I don't think it's that.

If you want to (and feel comfortable giving access) I could try to have a look at it for you, unless anyone else have any idea.
BobN 13 Feb, 2023
1 Likes
wbuk,
I'm open to that. Contact me at nighrv@gmail.com so we can set up a time for a Google Meet session. I'm in the U.S Eastern Timezone.
Hopefully I've done something that can be fixed quickly.

Thanks,
--Bob.
BobN 04 Aug, 2023
wbuk,
Are you still available? Please contact me on email if you have the time. It would be nice to get the variable pagination working.

Thanks,
--BobN.
webbusteruk 04 Aug, 2023
Hi sorry been busy with many things lately, I'll drop you an email although not sure how much time I have to help you with it.
You need to login to be able to post a reply.