How are the paths from the build-in filemanager created? Is there a relative and absolute option with the build-in one? Is there a function someone could point me to?
can you please send me the Ajax File/Image manager version and config file. Although I have made it working but when I select an image and press the "Select" button, the Image Property window shows nothing.
I do not remember the version right now, but I do remember having to change a js file for my particular installation. I have also heavily modified the code.base.php file with specific project requirements so I do not think that file would be of any help to you...especially since you already have it running. You're just having trouble getting the path into FCK, right?
In the for_fckeditor.js file for Ajax FM, I have this:
//function below added by logan (cailongqun [at] yahoo [dot] com [dot] cn) from www.phpletter.com
function selectFile(url)
{
if(url != '')
{
parent.frames.selectFile(url) ;
// window.editor.SetUrl(url) ;
window.close() ;
}else
{
alert(noFileSelected);
}
}
function cancelSelectFile()
{
// close popup window
parent.frames.close() ;
}
I do not remember why exactly I had to change this code, but I did have to change it for my project.
I'm not sure if that will help you any, but I hope it does.
Re: Need relative path from File Manager
How are the paths from the build-in filemanager created? Is there a relative and absolute option with the build-in one? Is there a function someone could point me to?
Thanks,
Mike
Re: Need relative path from File Manager
Your help will be greatly appreciated.
Thanks
WAHAB
Re: Need relative path from File Manager
I do not remember the version right now, but I do remember having to change a js file for my particular installation. I have also heavily modified the code.base.php file with specific project requirements so I do not think that file would be of any help to you...especially since you already have it running. You're just having trouble getting the path into FCK, right?
In the for_fckeditor.js file for Ajax FM, I have this:
//function below added by logan (cailongqun [at] yahoo [dot] com [dot] cn) from www.phpletter.com function selectFile(url) { if(url != '') { parent.frames.selectFile(url) ; // window.editor.SetUrl(url) ; window.close() ; }else { alert(noFileSelected); } } function cancelSelectFile() { // close popup window parent.frames.close() ; }I do not remember why exactly I had to change this code, but I did have to change it for my project.
I'm not sure if that will help you any, but I hope it does.