Portal Pagination
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #7
RE: Portal Pagination
(05-29-2011 05:23 PM)ZiNgA BuRgA Wrote:  RateU's code looks good - do you happen to have manually edited portal.php at all leefish?
Yes I do - and that is the "problem".

Nothing wrong with RateU's code - its using a preg_replace so yes, my manual edits are screwing it up. So I just added the required code direct to my already heavily edited portal.php.

I have a lot of plugins already (not that these plugins are causing any extra queries, its just cluttering my plugins list) and I am trying to tidy the list up.

On this pagination - its really neat, but its a full page reload (of course) and I think that means I am hitting the db every time I click to a new page. Thats not so good on the portal page Erf. I have a few queries already memcached so that helps, but I was actually looking around for an AJAX script so at least I only "reload" the announcements div.

I am also looking at a "select by news" type filter as well, jQuery should be easiest I think as I am already loading the jQuery library, so on the AJAX reload its probably also going to be jQuery based.


[Image: leelink.gif]
MYBB1.6 & XThreads
05-30-2011 02:51 AM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Portal Pagination - Sky - 05-27-2011, 11:08 PM
RE: Portal Pagination - RateU - 05-28-2011, 02:45 AM
RE: Portal Pagination - leefish - 05-28-2011, 04:21 AM
RE: Portal Pagination - RateU - 05-28-2011, 06:00 AM
RE: Portal Pagination - leefish - 05-28-2011, 06:40 AM
RE: Portal Pagination - ZiNgA BuRgA - 05-29-2011, 05:23 PM
RE: Portal Pagination - leefish - 05-30-2011 02:51 AM
RE: Portal Pagination - ZiNgA BuRgA - 05-30-2011, 09:34 AM
RE: Portal Pagination - leefish - 05-30-2011, 04:14 PM
RE: Portal Pagination - ZiNgA BuRgA - 05-30-2011, 06:00 PM

 Standard Tools
Forum Jump: