Hi there,
FCKeditor comes with File, Media, Flash, Image as its resource types. I want to add some new resource types. Can anybody tell me how to do that? For example, I want to add CAD as a new resource type.
Thanks,
FCKeditor comes with File, Media, Flash, Image as its resource types. I want to add some new resource types. Can anybody tell me how to do that? For example, I want to add CAD as a new resource type.
Thanks,
RE: How to add new resource types?
1. modify editor/fielmanager/browser/default/frmresourcetype.html
var aTypes = [
['File','File'],
['Image','Image'],
['Flash','Flash'],
['Media','Media'],
['CAD','CAD']//Added
] ;
2. modify editor\filemanager\browser\default\connectors\php\config.php
add:
$Config['AllowedExtensions']['CAD'] = array('DWG') ;
$Config['DeniedExtensions']['CAD'] = array() ;
But it does not work. I open the file manager window to browser the server, there are still only four menu options (File, Image, Flash, Media), no CAD.
Any help?
Thanks!