Hi all,
I am using FCKeditor with a CMS that is using a multisite feature.
When the file browser is used to select an image to insert - it by default adds an absolute url (e.g. http://www.domain.com/path_to_image/image.jpg) in the image path field; what I need it todo is add a domain relative url (e.g. /path_to_image/image.jpg) to the image path field.
I have been poking around for a while and can't seem to find a solution - any help would be very much appreciated!
Thanks
Mojoinst
Tue, 02/24/2009 - 12:01
#1
Re: file browser use domain relative url instead of absolute url
I have the exact opposite problem. The file browser by default adds an relative url and what I need todo is add an absolute url.
Maybe, it's a solution for you :
I found in forums, you must modify 2 config.php pages :
path : FCKeditor/editor/filemanager/browser/default/connectors/php/config.php (line 33) there is a comment
path : FCKeditor/editor/filemanager/upload/php/config.php (line 33)
but for me it didn't work. It still the same. I have relative url and not absolute one. I think it's not enought. I should change something else but I don't know what.
May I ask you where you see your absolute url by default ? In which page ? thanks
I also need help
My version of FCKeditor 2.3
thanks
SUUD6501