[TYPO3-dev] getting at locallang_db.php in an FE plugin
Markus bertheau
mbertheau.typo3 at gmail.com
Mon Apr 10 20:57:38 CEST 2006
Well, PHP found the class language if not run in the debugger (I think
it would have complained otherwise). When I have time I'll retry :)
2006/4/11, Bernd Wilke <xoonsji02 at sneakemail.com>:
> On Mon, 10 Apr 2006 18:12:54 +0700, Markus bertheau wrote
> with subject "Re: [TYPO3-dev] getting at locallang_db.php in an FE plugin":
>
> > Hmm, interesting. Doesn't work though (am still getting empty
> > strings), and while debugging the debugger couldn't find class
> > language, so I stayed with a bad hack
> > (http://wiki.typo3.org/index.php/Locallang_db.php_in_FE )
> >
> > Thanks
> >
> > Markus
>
>
> I developed this on TYPO3 V3.8.0 and V3.8.1
> I can't tell yet wether this is ok with V 4.*
>
>
> maybe you missed to include 'lang.php'?
> try
> require_once(PATH_SITE.'/typo3/sysext/lang/lang.php')
> instead of
> require_once(t3lib_extMgm::extPath('lang').'lang.php')
>
>
> And my include for lang.php is placed after the include of
> class.tslib_pibase.php.
>
>
> Bernd
> --
> ----------------
> Bernd Wilke
> Annweilerstr.20
> 40229 Düsseldorf
> 0211/229 2800
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>
More information about the TYPO3-dev
mailing list