Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
Hi All

Just a small question.
is it possible to make couch look at a different folder for his images?

I just defined an editable region (first time :D ) but I can't see the image from the site?

noimages.JPG
Image
noimages.JPG (27.54 KiB) Viewed 2798 times


Probably because he is looking in the wrong folder.

Much appreciated
Hi,

The problem has got more to do with how CKEditor displays the images.
I am sure your images are using relative paths - so on the front-end they'd display fine but on the back-end the paths go awry as now they are calculated relative to the admin-panel.

As a fix, you can try instructing CKEditor to resolve all paths relative to the admin-panel. This can be done by editing 'couch/includes/ckeditor/config.js' file and editing the following line
Code: Select all
config.language = 'en';

to make it
Code: Select all
config.language = 'en';
config.baseHref = 'http://www.example.com/path/';

where the actual value of config.baseHref would be your site's root (or whatever the images are relative to).

Hope this helps.
I love this comunity, worked perfectly thanks.

Is there a script somwhere that lets me modify the FCKeditor?
When I try to upload new images I get the following error:

Error on file upload. Error number: 203


Would be nice if I could upload my images directly with Couch and not have to use an 3th party FTP program. Is this possible?
I am glad it helped :)

The error you mentioned is, most likely, due to insufficient permissions on the upload folder (by default 'couch/uploads/image').
Please try setting its permission to 777.

You could also try the new filemanager as an alternative (viewtopic.php?f=6&t=7712)
Thank you
5 posts Page 1 of 1
cron