Deafault folders for FCKeditor not showing up

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
nathanc
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Tue Oct 21, 2008 7:17 am

Deafault folders for FCKeditor not showing up

Post by nathanc » Wed Nov 12, 2008 9:45 am

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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Deafault folders for FCKeditor not showing up

Post by mazhar » Wed Nov 12, 2008 11:12 am

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

nathanc
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Tue Oct 21, 2008 7:17 am

Re: Default folders for FCKeditor not showing up

Post by nathanc » Wed Nov 12, 2008 12:56 pm

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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Deafault folders for FCKeditor not showing up

Post by mazhar » Wed Nov 12, 2008 1:09 pm

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.

nathanc
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Tue Oct 21, 2008 7:17 am

Re: Deafault folders for FCKeditor not showing up

Post by nathanc » Wed Nov 12, 2008 2:41 pm

Done and fixed! Thanks

Nathanc
DPSW.com ADMIN

Post Reply