[TYPO3-dev] Extend existing extensions

Franz Holzinger franz at fholzinger.com
Wed Apr 30 08:40:44 CEST 2008


Sascha Bieler a écrit :
>> 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']['
> This is an mistake in the extension cr_tmailform_captcha, but iot did not 
> solve my problem. Do you have another idea?
> 

********************************
class ux_tx_pilmailform_pi1 extends tx_pilmailform_pi1 {
    function get_mailform() {
       echo "hello!";
    }
}
********************************


If there is no echo, then the XCLASS has not been called. You must check
with debug why the $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS'] is
not set for pilmailform.

- Franz




More information about the TYPO3-dev mailing list