[TYPO3-dev] BE module with extJs but in 4.2.8
Sonja Scholz
ss at cabag.ch
Tue Jul 28 16:15:08 CEST 2009
Hi Xavier,
you are right there is no MCONF information available.
But I created the head of my backend module php script like this:
unset($MCONF);
require ('conf.php');
require ($BACK_PATH.'init.php');
require ($BACK_PATH.'template.php');
$GLOBALS['LANG']->includeLLFile('EXT:extjs_test/mod1/locallang.xml');
require_once(PATH_t3lib.'class.t3lib_scbase.php');
so included conf.php. There is no error that the path is wrong or
something else.
Do I have to include any other files too? It seems to me as there are
not all things available in the ajax mode(of course..) as in the normal
backend running process.
When I add a class var for the mconf name directly(not very good I know
*mpf*), it works until the next error that $GLOBALS['SOBE']->doc is no
object...
Do you have any idea?
Thank you and greets,
Sonja
Xavier Perseguers schrieb:
> Hi Sonja,
>
>> When I call the ajax.php directly in the browser ( with
>> http://URL/typo3/ajax.php?ajaxID=tx_extjstest_module1::render_extJsAjaxOutput)
>> because of debugging I get the message "This module "" is not enabled
>> in TBE_MODULES ".
>
> Seems that you don't have $MCONF['name'] in your conf.php...
>
More information about the TYPO3-dev
mailing list