Hi,
Having folder 'images' in my web root, not 'Image' as default I have to modify the path. In RC2 I solved it by setting (in fckconfig.js)
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=images&Connector=connectors/php/connector.php&ServerPath=/mywebroot/"
and modified the file frmresourcetype.html by entering:
var aTypes = [
['File','File'],
['Image','Image'],
['Flash','Flash'],
['Media','Media']
] ;
But in RC3 it doesn't seem to work.
How can I configure this???
BR
Jocke
Having folder 'images' in my web root, not 'Image' as default I have to modify the path. In RC2 I solved it by setting (in fckconfig.js)
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=images&Connector=connectors/php/connector.php&ServerPath=/mywebroot/"
and modified the file frmresourcetype.html by entering:
var aTypes = [
['File','File'],
['Image','Image'],
['Flash','Flash'],
['Media','Media']
] ;
But in RC3 it doesn't seem to work.
How can I configure this???
BR
Jocke
RE: Image browser - RC3
In the connector (in my case php/connector.php) there is some lines that struggled it up
// Check if it is an allowed type.
if ( !in_array( $sResourceType, array('File','Image','Flash','Media') ) )
return ;
If I changes the values it works.
This handling should be changed to make better/easier configuration. As it are now it's very hard coded and also in several places.
Tis configuration should be in fckconfig.js, allowing different roots for different types.
RE: Image browser - RC3
Give me a support if you can .
Thanks
Thomas