Add extensions

Feb 10, 2011 at 4:14 PM


I have a .dot file in my files and it's allowed in Dotnetnuke and visible in the file manager of dotnetnuke.

It is not visible in the file manager of CKEditor.

Do I need to change this?

        type.AllowedExtensions = new[] { "7z", "aiff", "asf", "avi", "bmp", "csv", "doc", "fla", "flv", "gif", "gz", "gzip", "jpeg", "jpg", "mid", "mov", "mp3", "mp4", "mpc", "mpeg", "mpg", "ods", "odt", "dot", "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", "zip" };

I did add "dot" in the list but it did not change a thing.



Feb 11, 2011 at 11:17 AM

If you mean the CKFinder, yes you have to modify the entry in the config.ascx

Feb 14, 2011 at 7:56 AM

Actually it's in the Image / File browser (browser.aspx)

Feb 14, 2011 at 10:16 AM

But the dot files are not Images, those files will be only visible in Link Modus

Feb 14, 2011 at 12:42 PM

Well it's in the file / page browser when making a link to a file.

I just uploaded a .dot file in the dnn file manager and via ftp and it's not visible inside the file browser.

Feb 14, 2011 at 1:09 PM

Did you use the latest version of my CKEditor Provider 1.12.07? the file extension list was hardcoded before 1.12.06

Feb 14, 2011 at 3:03 PM

Well that did the trick :D