RE: AW: [SMARTY] Paging

From: Date: Thu, 12 Dec 2002 12:10:44 +0000
Subject: RE: AW: [SMARTY] Paging
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6750@lists.php.net to get a copy of this message
> Sure, I use a loop to get the data out of the database, and a smarty > {section} tag to display it but im talking about the logic behing > generating the paging text & links, and whether there is a more > efficient way to do it using Smarty than i'm currently using. check out http://sourceforge.net/projects/smartypages. i'm not sure if it'll do exactly what you want, but it might be a start. it's a plugin which can be used to extract only the rows for the current page, and also produce the navigation links for you. there's not much documentation (in fact, there's none apart from comments in the files) so if you need any help with it then let me know. i want more people to work on this. currently it only works with MySQL and has several other limitations. it worked for my purposes, but if anyone wants to make it better then please feel free. 'tis open source after all. cheers, benji.

« previous php.smarty.general (#6750) next »