[TYPO3-dev] t3lib_pageSelect::getMenu

Carsten Kleinfeld max at ltitu.de
Fri Mar 31 10:23:27 CEST 2006


Carsten Kleinfeld schrieb:
> Hi List!
> 
> I just tried to get the subpages of the actual page with:
> 
> function main($content,$conf)    {
> $subpages=t3lib_pageSelect::getMenu($GLOBALS["TSFE"]->id);
> $out.= t3lib_div::view_array($subpages);
> return $out;
> }
> 
> But I get this error :
> 
> Fatal error: Call to undefined function: getmountpointinfo() in 
> /typo3_src-3.8.1/t3lib/class.t3lib_page.php on line 407
> 
> Is this a bug or what is my fault ?
> 
> My installation is typo3 3.8.1 on a linux machine.

Sorry it was my fault:

I had to instanciate first.

function main($content,$conf)	{
$this->sys_page = t3lib_div::makeInstance('t3lib_pageSelect');
$this->sys_page->init(true);
$subpages = $this->sys_page->getMenu($GLOBALS["TSFE"]->id);
$out.= t3lib_div::view_array($subpages);
return $out;




More information about the TYPO3-dev mailing list