[TYPO3] Get the speaking url from a page ID

Dennis Cheung hkdennis2k at gmail.com
Thu Mar 9 10:22:45 CET 2006


Hi,

Seem something wrong in the pervious part inside your plugin.
$this->cObj become a null value.

all FE plugins should extends tslib_pibase.
cObj will be apply before call your main function, and it should never be null.

Dennis

On 3/9/06, Jérémy Lecour <jeremy.lecour at gmail.com> wrote:
> > Are you makeing frontend plugin extension or others?
>
> I'm making a front-end extension.
>
> > There is an option in install tool that disables error logging by default.
> > I doubt functions from pibase will have syntax errors...
>
> I've modified error handling options and now I see this :
>
> Fatal error: Call to a member function on a non-object in
> /home/iaeaix/typo3_src-4.0beta2/typo3/sysext/cms/tslib/class.tslib_pibase.php
> on line 278
>
> Here is what I have around those lines (277->279) :
> function pi_getPageLink($id,$target='',$urlParameters=array())  {
>     return $this->cObj->getTypoLink_URL($id,$urlParameters,$target);
> }
>
> --
> Jérémy Lecour : <mailto:jeremy.lecour at gmail.com>
> webdesigner, webmaster et développeur web
> Trésorier du PLUG : Provence Linux User Group
> http://www.plugfr.org/
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list