Guestbook pagination
Permalink 2 users found helpful
Don't know where to post this, but does anybody know how to make pagination for the guestbook? Pretty annoying when you have like 300 comments in the guestbook... so anybody, pagination for the guestbook?
Thanks!
Thanks!
you'd have to build a custom template for the block and make pagination work within it.
conversely the discussions add-on has a guestbook type UI in it, and it gives you a lot of other options you might find nice including pagination and sorting/filtering,etc.
conversely the discussions add-on has a guestbook type UI in it, and it gives you a lot of other options you might find nice including pagination and sorting/filtering,etc.
If anyone has found solution for this, please let us know! Thanks!
Has anybody implemented this already? I've been working on a custom template, but can't get it to work ...
Nick
Nick
Here a new controller (see attachment)
Just upload in the blocks/guestbook/ folder and rename to .php
Around line 230 you can change the maximum results.
Best,
Corretje
Just upload in the blocks/guestbook/ folder and rename to .php
Around line 230 you can change the maximum results.
Best,
Corretje
I'll try this!! Thank you very much for posting this!
Thanks for your help in figuring this out. My first attempt failed. I am guessing I placed the number of entries in the wrong place. Where in the code around line 230 does the number of entries to be displayed go? What should the code look like?
Has anyone got this to work yet or found another solution to paginating the guestbook?
I tried it - doesn't seem to work :-(
Did you ever find a way to achieve this? I'm trying to do the same thing...
Thanks :-)