This is my first posting, this little CMSimple really rocks!
Maybe this might be useful for Newsletter-Plugin useres out there.
The fckeditor doesnt store the complete pathname of images, so the path must be corrected manually.
I just checked the FCK sourcecode - when changing the code like below, the path will be stored correctly.
goto -> fckeditor/editor/filemanager/browser/cmsimple/frmresourceslist.html
Code: Select all
@Line 92
if(oConnector.ResourceType=='Image'){
var sLink = '<a href="#" onclick="OpenFile(\'' + ProtectPath( cmsimpleUrl ) + '\'); return false; " onmouseover="ShowPreview(\'' + ProtectPath( fileUrl ) + '\'); return false;" onmouseout="HidePreview(\'' + ProtectPath( fileUrl ) + '\'); return false;">' ;
}
replace with:
if(oConnector.ResourceType=='Image'){
var sLink = '<a href="#" onclick="OpenFile(\'http://www.domain.com/subdirectory/images/' + fileName + '\'); return false; " onmouseover="ShowPreview(\'' + ProtectPath( fileUrl ) + '\'); return false;" onmouseout="HidePreview(\'' + ProtectPath( fileUrl ) + '\'); return false;">' ;
}
testet with IE9 an Chrome -
cheers bikesnake