[TYPO3] tslib_pibase->pi_getPageLink

Morten Olesen mo at idefa.dk
Thu Nov 8 17:11:59 CET 2007


Not sure this is even where I'm supposed to ask - but I will give it

according to the documentation

$this->pi_getPageLink(30) should return something like "index.php?id=30"

After much testing it seems that it will refuse to make a link pointing
to pages the current user does not have viewing rights to, and will in
this case instead return a empty string.

Before I set about reinventing the wheel is there a way to get proper
page links regardless of the users ability to actually view the page?

I'm using Typo3 4.1.2 if that makes a difference.

/Morten Olesen

More information about the TYPO3-english mailing list