[TYPO3-dev] $this->pi_getPageLink($id) returns nothing

Brian Bendtsen brb at mentor-it.dk
Mon Mar 20 16:44:46 CET 2006


Brian Bendtsen wrote:
> Hi
> 
> Im using this $this->pi_getPageLink($id) as the value of an action 
> attribute in a form, but suddenly $this->pi_getPageLink($id) returns 
> nothing.
> 
> It worked yesterday and the only thing I have done is moved the plugin 
> page to a another location in the page tree.
> 
> Another thing, maybe a newbee question, but thats what I am.
> 
> How do I get my pages to show php errors when I made a mistake, I always 
> just get a blank page.
> 
> Any ideas?
> 
> /Brian Bendtsen
Hmm, added:
$id = $GLOBALS['TSFE']->id;

Im pretty sure it worked before without it.

/BB




More information about the TYPO3-dev mailing list