[TYPO3-english] Pagination in TYPO3 Extension Records

Gregor Hermens gregor at a-mazing.de
Tue Dec 20 14:24:33 CET 2011


Hi Farooq,

mohammad.farooq at steria.co.in wrote:

> I have written a TYPO3 extension which lists records from database on
> pages.
> Now I have to add pagination at bottom of page with 10 records on each
> page like tt_news does.
> 
> Can anybody please give me a hint: if there is a TYPO3 API which is
> helpful for creating paginated results and links 1,2,3,4 >> etc.
> Or I have to write plain PHP code for that in my extension program.

pibase povides a simple page browser:

http://api.typo3.org/typo3v4/current/html/classtslib__pibase.html#ae84ee68a7198375c1a0f2cc8e588d939

If you need more than that take a look at the pagebrowse extension by Dmitry 
Dulepov:

http://typo3.org/extensions/repository/view/pagebrowse/current/

hth
Gregor
-- 
http://www.a-mazing.de/   |   Certified TYPO3 Integrator



More information about the TYPO3-english mailing list