I'm wondering if it is possible to change the default behavior of the directory that is accessed when the "Insert/Edit Image" tool is accessed in the FCKeditor window. Furthermore I am interested in also changing the default directory that the ""Link" tab in the "Insert/Edit Image" tool accesses when it is selected.
Any help would be appreciated.
Changing default image directories in FCKeditorX
- Elijah Lofgren
- Power Poster

- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
Re: Changing default image directories in FCKeditorX
If you're using FCKeditor 1.0.2 and you're wanting to make it use images from uploads/images then try installing FCKeditorX 1.0.3: http://dev.cmsmadesimple.org/frs/?group ... ase_id=714
If you'd like some other dir, open config.php and change the following 2 settings to the dir that you want.
For fixing the Link tab, I just change something in SVN: http://viewsvn.cmsmadesimple.org/viewsv ... x&view=rev
You can download this file: http://viewsvn.cmsmadesimple.org/viewsv ... iew=markup
and replace your current: modules/FCKeditor/editor/filemanager/browser/default/connectors/php/connector.php with it so that the directory browsed to will be "uploads" instead of "uploads/File".
Hope this helps,
Elijah
If you'd like some other dir, open config.php and change the following 2 settings to the dir that you want.
Code: Select all
#Where are uploaded files put? This defaults to uploads.
$config['uploads_path'] = '/opt/lampp/htdocs/cmsmadesimple/uploads';
#Where is the url to this uploads directory?
$config['uploads_url'] = 'http://cmsmadesimple.localhost/uploads';
For fixing the Link tab, I just change something in SVN: http://viewsvn.cmsmadesimple.org/viewsv ... x&view=rev
You can download this file: http://viewsvn.cmsmadesimple.org/viewsv ... iew=markup
and replace your current: modules/FCKeditor/editor/filemanager/browser/default/connectors/php/connector.php with it so that the directory browsed to will be "uploads" instead of "uploads/File".
Hope this helps,
Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 
