[TYPO3] Get the speaking url from a page ID
Jérémy Lecour
jeremy.lecour at gmail.com
Thu Mar 9 10:27:50 CET 2006
Exactly.
If I test the value of $this->cObj in the extension itself it's OK,
but if I test it in a specific method instanciated by a _callUserObj
method, it's empty !
The framework I use is FORMidable, it's great, but unfinished and
sometimes problematic ;-)
2006/3/9, Dennis Cheung <hkdennis2k at gmail.com>:
> 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
> >
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
--
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/
More information about the TYPO3-english
mailing list