[TYPO3-dev] Extend existing extensions
Franz Holzinger
franz at fholzinger.com
Tue Apr 29 17:30:38 CEST 2008
Sascha Bieler a écrit :
>> Gong 96.3 [Sascha Bieler] wrote:
>>> where can I read about the changes in typo3 4.1.6 in extending existing
>>> extensions and how to do it now?
>> Nowhere. No changes.
> Ok, but when I
>
> echo "hello!"; in class.ux_tx_pilmailform_pi1.php like this:
>
> ********************************
> class ux_tx_pilmailform_pi1 extends tx_pilmailform_pi1 {
> function get_mailform() {
> echo "hello!";
> }
> ********************************
>
> hello! is displayed with typo3 4.1.5, not with 4.1.6.
>
This is an error in XCLASS.
You must change the XCLASS of your extension from
$TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['
to
$GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['
- Franz
More information about the TYPO3-dev
mailing list