149 Posts
MtnPavlas
11 years ago
7
Topic

Anyone would know how to make a list in module w/ pagination? An example would be comments on article. The main content on the page is the article w/ a module below that pulls all comments related to that article. I'd imagine with many comments the page will be so annoyingly long that pagination would be really helpful.

Another useful example would be this: Let's say I'm viewing someone's profile, which includes a module with all of his/her articles. Again, if that user/member has written lots of articles, the list may be endless.

Simply setting the pagination parameters in the List/Search does not cut it as it gets ignored (e.g. I set it to "2" and it still displays all items/results).

thank you for any insights, P

Get a VIP membership
151 Posts
pixelpixel
11 years ago
0
Level 1

Hi MtnPavlas,


maybe a late answer, but it could still help someone later :)


Unfortunately pagination in modules is not possible with any settings. You could do this with an AJAX workaround. But please dont ask me how, because i have no AJAX skills :)


But you have given good examples when pagination in modules makes sense.


kind regards

11 years ago
0
Level 1

Thank you pixelneco

34 Posts
Index
11 years ago
0
Level 1

I also want a pagination in my module list! So, i join the club here: would be very appreciated if someone is able to do that. :)

149 Posts
MtnPavlas
11 years ago
0
Level 1

Someone wants to publish a plugin or something in the Seblod app store for sale? Without the pagination a solution like commenting is kind of useless. Surely the Seblod team has a solution... just look at this forum ;-)

Guys, there are some of us who'd pay for this. Thank you for considering this.

45 Posts
Casper
9 years ago
0
Level 1

I also want a pagination in my module list! So, i join the club here: would be very appreciated if someone is able to do that. :)

9 years ago
0
Level 1

Hi Vasja,

There is no possible pagination in a module "list seblod".

Regards,
Mehdi.

5 years ago
0
Level 1

Hi to all.

I think, it's not about - does pagination make sense in module or not. I have a simple situation when I have category and I show all articles of this category on the category page in the module. In this case I'm free to add pagination parameter to my URL and make pagination. Maybe it is "pseudo" pagination, I understand it. I have a GET parameter for page number in my URL and use it in my list template. In this case I have only problem, that search results are not limited by my pagination - so I filter all results on each page by php, not by SQL. 

The question is - can I use some GET parameters with some SQL field to correct my L&S query and limit result by  this field? It would be very useful for solving of this task.

Thanks!

Get a Book for SEBLOD