for some reason i cannot set the path to the css server side for the coldfusion version?
I need to do this because we have a server side variable in coldfusion which has the full path.
If i can't do this server side i will have to make a javascript variable but it is a bit messy.
<cfscript>
fckEditor = createObject("component", "/components/fckeditor");
fckEditor.instanceName="template_zone_body";
fckEditor.basePath="#request.url_address#admin/htmleditor/";
fckEditor.value="#TemplateZone.template_zone_body#";
fckEditor.width="100%";
fckEditor.height="400";
fckEditor.enableXHTML=true;
fckEditor.AutoDetectLanguage=true;
fckEditor.EditorAreaCSS="#request.url_address#style/global.css";
fckEditor.create(); // create instance now.
</cfscript>
I also have a folder called web_images in the root of the site but the editor tries to make its own folder names called "Image"
I cannot use my own folder.
Am i doing something wrong?
Hope you can help
Matt
I need to do this because we have a server side variable in coldfusion which has the full path.
If i can't do this server side i will have to make a javascript variable but it is a bit messy.
<cfscript>
fckEditor = createObject("component", "/components/fckeditor");
fckEditor.instanceName="template_zone_body";
fckEditor.basePath="#request.url_address#admin/htmleditor/";
fckEditor.value="#TemplateZone.template_zone_body#";
fckEditor.width="100%";
fckEditor.height="400";
fckEditor.enableXHTML=true;
fckEditor.AutoDetectLanguage=true;
fckEditor.EditorAreaCSS="#request.url_address#style/global.css";
fckEditor.create(); // create instance now.
</cfscript>
I also have a folder called web_images in the root of the site but the editor tries to make its own folder names called "Image"
I cannot use my own folder.
Am i doing something wrong?
Hope you can help
Matt
RE: path problems for css and images (cfm)
this means the style sheet is not within the editors folder structure
the editor is within /admin/htmleditor
the style sheet is within /style/
Matt