I purchased the entire Kollection with KTML 4 just before or after Interak was purchased by Adobe. We are just now getting around to implementing the KTML editor and I see that I have no official support.
Here is my issue, my web development firm has our own Content Management System that is shared at one url... http://beta.spiderwebmaster.net for over 100 clients each with their own site. We love what we see with KTML so far, we have created a test page at http://beta.spiderwebmaster.net/bobtest.cfm.
The problem is that I can not figure out how to set the filebrowser to work with a site other than the rootsite in which KTML is running... for instance, in my test page, I have it configured like this (we are using CFML):
<cfscript>
ktml_wysiwygtest = Request.KTML4_CreateObject("ktml4");
ktml_wysiwygtest.init("wysiwygtest");
ktml_wysiwygtest.setModuleProperty("filebrowser", "AllowedModule", "true", false);
ktml_wysiwygtest.setModuleProperty("filebrowser", "MaxFileSize", "1024", true);
ktml_wysiwygtest.setModuleProperty("filebrowser", "RejectedFolders", "", false);
ktml_wysiwygtest.setModuleProperty("file", "UploadFolder", "uploads/files/", false);
ktml_wysiwygtest.setModuleProperty("file", "UploadFolderUrl", "uploads/files/", true);
ktml_wysiwygtest.setModuleProperty("file", "AllowedFileTypes", "doc, pdf, csv, xls, rtf, sxw, odt", true);
ktml_wysiwygtest.setModuleProperty("media", "UploadFolder", "/home/drew/domains/jbfsale.com/public_html/images/", false);
ktml_wysiwygtest.setModuleProperty("media", "UploadFolderUrl", "http://jbfsale.com/images/", true);
ktml_wysiwygtest.setModuleProperty("media", "AllowedFileTypes", "bmp, mov, mpg, mp3, avi, mpeg, swf, wmv, jpg, jpeg, gif, png", true);
ktml_wysiwygtest.setModuleProperty("templates", "AllowedModule", "true", false);
ktml_wysiwygtest.setModuleProperty("templates", "UploadFolder", "uploads/templates/", false);
ktml_wysiwygtest.setModuleProperty("xhtml", "AllowedModule", "true", false);
ktml_wysiwygtest.setModuleProperty("xhtml", "xhtml_view_source", "true", true);
ktml_wysiwygtest.setModuleProperty("xhtml", "xhtml_save", "true", true);
ktml_wysiwygtest.setModuleProperty("spellchecker", "AllowedModule", "true", false);
ktml_wysiwygtest.setModuleProperty("css", "PathToStyle", "includes/ktm/styles/KT_styles.css", true);
ktml_wysiwygtest.setModuleProperty("hyperlink_browser", "ServiceProvider", "includes/ktm/hyperlink_service.cfm", true);
ktml_wysiwygtest.Execute();
</cfscript>
It seems that the filebrowser does an good job of getting my images from the folder I specified in the UploadFolder line of code, but it is not working with my UploadFolderUrl setting correctly. As I get an Illegal request... instead of seeing my images, and... when I attempt to insert an image it loads the url for the image from the siteroot. Surely there is a workaround for this. There must be a way I can set t