View All in pagination with rel="canonical" tag

You would have to make an add-on, and while it wouldn't be too difficult, it would be annoying.

Also, it would put strain on the database and php server, getting all the data in one go.

Liam
 
Probably what I would do is implement it only for threads that were under a certain threshold of messages. If the forum is coded well it shouldn't take much more to pull say 80 messages instead of 20.
 
Probably what I would do is implement it only for threads that were under a certain threshold of messages. If the forum is coded well it shouldn't take much more to pull say 80 messages instead of 20.

You should look in the thread controller then, as well as the threads route which sets the page id parameter.

I guess the easiest way to do it would be to have the navlink add an &all to the URL, which is checked for in the extended controller.

You then extend the model etc. to change the returned thread count (which isn't difficult).

The issue would be editing the pagenav template to add the new link to all ;)

Liam
 
Thanks for the direction. Sounds like you could probably do it a lot quicker than I could. Please PM me if you would you be interested in coding this up for a fee. :)
 
Back
Top Bottom