Hello,
ive created a user extension, but i
ve problems to load a javascipt that i need for the extension. The javascript-File is not shown into the header of the html-file.
I`ve created the user extension as followed:
*create an folder in "*/mydbr/user/extensions" with the name of extension
*create the php- and the javascript-file into that new folder
The php-file(with the function Ext_Test( $id, $options, $dataIn, $colInfo )
) only echo a small html and javascript test
*give the folder and the files rights for the webserver
*edit the "*/mydbr/user/extensions/extensions.php" as followed:
'Test' => array(
'name' => 'Test Example',
'enabled' => true,
'autoload' => 1,
'php' => 'Test.php',
'row_by_row_initialization' => '',
'row_by_row_data_row' => '',
'row_by_row_finish' => '',
'single_pass_call' => 'Ext_Test',
'javascript' => array('test.js'),
'css' => array('test.css'),
'cmds' => array(
array(
'cmd' => 'dbr.test'
),
)
),
);
*in a report i run the code:
select 'dbr.test';
select '12345';
The html-code from the Test.php will be generate, but the test.js will never load.
(Sorry for my bad english)
Have someone an idea?