DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Universal page browser for TYPO3 CMS

This is a "universal page browser for TYPO3 CMS" extension. It allows TYPO3 extension developers to easily build a page browser into their extensions.

What does it do?

It provides the API to create a page browser. Developers need to supply the following parameters:

  • current page
  • number of pages

Optionally developers can say how many pages they want to see. It is also possible to customize the look of all links in the page browser. Several hooks exist to let developers do more flexible customization.

Typical usage from PHP:

protected function getListGetPageBrowser($numberOfPages) {
    // Get default configuration
    $conf = $GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_pagebrowse_pi1.'];
    // Modify this configuration
    $conf += array(
        'pageParameterName' => $this->prefixId . '|page',
        'numberOfPages' => $numberOfPages,
    );
    // Get page browser
    $cObj = t3lib_div::makeInstance('tslib_cObj');
    /* @var $cObj tslib_cObj */
    $cObj->start(array(), '');
    return $cObj->cObjGetSingle('USER', $conf);
}

See the manual at doc/manual.sxw for more information and a list of all available options.

Notes

This extension was built in "pibase" times and it does not support recent TYPO3 technologies (such as Extbase or FLUID). However it is still the most lightweight and simple page browser for TYPO3 around.

This code is old. It is quite clean but not as clean as I would prefer now. However it is stable and used in production on many sites that use TYPO3.

Contacts

E-mail: dmitry.dulepov@gmail.com