SOLVED START:
In CKEditor Configuration (from JOOMLA BACKEND), - File Browser settings:
Set CKFinder urls type, to: Relative
Another problem I had was that I was never able to see any folders::::
Allways got these folders: Files, Images, Flash, Basket bahhh
Then I tried to change these lines in ckfinder directory, config.php
TO:
And now I see what I want.... this took some hours ...
SOLVED END:
I'm planning to use CKFinder in a joomla component.
It is working great except for one thing:
When I dblclick the image in the finder popup, the returnvalue is absolute path...
I want to know how I can make the return path to be relative to root of joomla.
what I want returned is something like this (where "images" is in root of the joomla installation):
"images/custom-images/image.jpg"
Is there a javascript variable I can use after these lines that control this behaviour:
In CKEditor Configuration (from JOOMLA BACKEND), - File Browser settings:
Set CKFinder urls type, to: Relative
Another problem I had was that I was never able to see any folders::::
Allways got these folders: Files, Images, Flash, Basket bahhh
Then I tried to change these lines in ckfinder directory, config.php
$baseUrl = 'local.joomla16.com/images/'; $baseDir = "c:/www-apps/joomla16/images";
TO:
$baseUrl = ''; $baseDir = JPATH_BASE.DS."";
And now I see what I want.... this took some hours ...
SOLVED END:
I'm planning to use CKFinder in a joomla component.
It is working great except for one thing:
When I dblclick the image in the finder popup, the returnvalue is absolute path...
I want to know how I can make the return path to be relative to root of joomla.
what I want returned is something like this (where "images" is in root of the joomla installation):
"images/custom-images/image.jpg"
Is there a javascript variable I can use after these lines that control this behaviour:
var finder = new CKFinder(); finder.basePath = '/plugins/editors/ckeditor/ckfinder/';