Skip to content
This repository has been archived by the owner on Dec 27, 2018. It is now read-only.
/ pagebrowse Public archive
forked from dmitryd/typo3-pagebrowse

TYPO3 "pagebrowse" extension. Allows users to easily create a page browser in their extensions.

License

Notifications You must be signed in to change notification settings

PHORAX/pagebrowse

 
 

Repository files navigation

Universal page browser for TYPO3 CMS

WARNING! This extension is obsolete and will not be updated anymore.


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: [email protected]

About

TYPO3 "pagebrowse" extension. Allows users to easily create a page browser in their extensions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 84.7%
  • HTML 12.1%
  • CSS 3.2%