Hello, I'm using the 2.6.3 version of FCKEditor with the FCKeditor.Net and everythings works ok, but I'm having a trouble with the image/flash/file browsers.
There is a file (config.ascx) where you can config the allowed extensions, denied extensions and path for all the browsers. I have configured the same directory for all, but different allowed extensions. When I try to add an image and I browse the directory, I have the "Resource Type" combo with the "Image" value but the list of files includes all the files (not only the "bmp", "gif", "jpeg", "jpg", "png" files). Is there any way to list only the files with the allowed extensions? What am I doing wrong?
Thanks in advance.
There is a file (config.ascx) where you can config the allowed extensions, denied extensions and path for all the browsers. I have configured the same directory for all, but different allowed extensions. When I try to add an image and I browse the directory, I have the "Resource Type" combo with the "Image" value but the list of files includes all the files (not only the "bmp", "gif", "jpeg", "jpg", "png" files). Is there any way to list only the files with the allowed extensions? What am I doing wrong?
Thanks in advance.
config.ascx ------------ TypeConfig[ "File" ].AllowedExtensions = new string[] { "7z", "aiff", "asf", "avi", "bmp", "csv", "doc", "fla", "flv", "gif", "gz", "gzip", "jpeg", "jpg", "mid", "mov", "mp3", "mp4", "mpc", "mpeg", "mpg", "ods", "odt", "pdf", "png", "ppt", "pxd", "qt", "ram", "rar", "rm", "rmi", "rmvb", "rtf", "sdc", "sitd", "swf", "sxc", "sxw", "tar", "tgz", "tif", "tiff", "txt", "vsd", "wav", "wma", "wmv", "xls", "xml", "zip" }; TypeConfig[ "File" ].DeniedExtensions = new string[] { }; TypeConfig[ "File" ].FilesPath = "%UserFilesPath%"; TypeConfig[ "File" ].FilesAbsolutePath = ( UserFilesAbsolutePath == "" ? "" : "%UserFilesAbsolutePath%" ); TypeConfig[ "File" ].QuickUploadPath = "%UserFilesPath%"; TypeConfig[ "File" ].QuickUploadAbsolutePath = ( UserFilesAbsolutePath == "" ? "" : "%UserFilesAbsolutePath%" ); TypeConfig[ "Image" ].AllowedExtensions = new string[] { "bmp", "gif", "jpeg", "jpg", "png" }; TypeConfig[ "Image" ].DeniedExtensions = new string[] { }; TypeConfig[ "Image" ].FilesPath = "%UserFilesPath%"; TypeConfig[ "Image" ].FilesAbsolutePath = (UserFilesAbsolutePath == "" ? "" : "%UserFilesAbsolutePath%"); TypeConfig[ "Image" ].QuickUploadPath = "%UserFilesPath%"; TypeConfig[ "Image" ].QuickUploadAbsolutePath = ( UserFilesAbsolutePath == "" ? "" : "%UserFilesAbsolutePath%" ); TypeConfig[ "Flash" ].AllowedExtensions = new string[] { "swf", "flv" }; TypeConfig[ "Flash" ].DeniedExtensions = new string[] { }; TypeConfig[ "Flash" ].FilesPath = "%UserFilesPath%"; TypeConfig[ "Flash" ].FilesAbsolutePath = (UserFilesAbsolutePath == "" ? "" : "%UserFilesAbsolutePath%"); TypeConfig[ "Flash" ].QuickUploadPath = "%UserFilesPath%"; TypeConfig[ "Flash" ].QuickUploadAbsolutePath = (UserFilesAbsolutePath == "" ? "" : "%UserFilesAbsolutePath%");