Page 1 of 1

Deafault folders for FCKeditor not showing up

Posted: Wed Nov 12, 2008 9:45 am
by nathanc
After installing the most recent update I have lost my connection to brouse my images in the FCKeditor. Is there a way to change the default images folder for the FCKeditor.

Nathanc
DPSW.com ADMIN

Re: Deafault folders for FCKeditor not showing up

Posted: Wed Nov 12, 2008 11:12 am
by mazhar
Edit the following file
Website\FCKeditor\editor\filemanager\connectors\aspx\config.ascx
and locate the following line of code in it.

Code: Select all

TypeConfig[ "Image" ].FilesPath = "%UserFilesPath%image/";
TypeConfig[ "Image" ].FilesAbsolutePath = ( UserFilesAbsolutePath == "" ? "" : "%UserFilesAbsolutePath%image/" );
and make them look like

Code: Select all

TypeConfig[ "Image" ].FilesPath = "%UserFilesPath%";
TypeConfig[ "Image" ].FilesAbsolutePath = ( UserFilesAbsolutePath == "" ? "" : "%UserFilesAbsolutePath%" );
This will change the path to WebSite/Assets folder

Re: Default folders for FCKeditor not showing up

Posted: Wed Nov 12, 2008 12:56 pm
by nathanc
Thanks Mazhar but that fix doesn't work. Changes were made to the config file
but I'm still getting the same results. Please advise.

Nathanc
DPSW.com ADMIN

Re: Deafault folders for FCKeditor not showing up

Posted: Wed Nov 12, 2008 1:09 pm
by mazhar
Here is my modified config file. Replace your Website\FCKeditor\editor\filemanager\connectors\aspx\config.ascx file with this one. Its working for me and listing the Assets folder contents when i try to browse server for an image.

Re: Deafault folders for FCKeditor not showing up

Posted: Wed Nov 12, 2008 2:41 pm
by nathanc
Done and fixed! Thanks

Nathanc
DPSW.com ADMIN