KTML for Dreamweaver Forum :: remote images in filebrowser?

This thread was displayed: 0 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
Drew Harris
07-12-2007 08:16:57 GMT +2

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

View full message
Back | Reply | Quote | Top
Andrei Bejenaru
07-21-2007 16:43:09 GMT +2

Hi,

UploadFolderUrl is actually verified to be a relative path on the same server, so you cannot use a full URL as its value. If you're using different paths of the development machine from the server, I suggest you set UploadFolderUrl as it works on the server, and upload all the images & files there (insteand of copying them via FTP with the whole site).

Reply | Quote | Top
Adobe acquired InterAKT
InterAKT has been acquired by Adobe.
Learn more
 
KTML for Dreamweaver 4.1.6
© Adobe Systems Romania. All rights reserved.