Patching KTML to work with IE (image upload) and FF 3.6 (rendering)

Patching KTML to work with IE (image upload) and FF 3.6 (rendering)

You can patch your KTML extension to always have the latest files in your existing or newly created form fields, following these easy steps
divider

You can patch your KTML extension to always have the latest files in your existing or newly created form fields, following these easy steps:

Updated file browser for image upload in Internet Explorer:

  1. Open this folder: C:\Dokumente und Einstellungen\%username%\ApplicationData\Macromedia\Dreamweaver 8\Configuration\Shared\InterAKT\ServerSide\All\KTML4\includes\ktm\modules\filebrowser

    Note: Please compare the above path to the language version of your Windows XP. This is for german XP
  2. Make a backup of the original file "filebrowser.js" to for example "bak_filebrowser.js"
  3. Copy the updated file "filebrowser.js" into this folder.
    Download link for this file: https://www.interaktonline.info/products/26-unable-to-upload-image-in-ktml-with-internet-explorer.html
  4. Open Dreamweaver 8 and start the Interakt Control Panel. Chose "Update includes folder" and Very Important --> Uncheck all extensions except KTML 4.1.6
    Now press the button "Update selected" to perform the updates.
  5. Upload your /includes/ktm/ folder to your remote website.

Updated KTML Buttons to work with Firefox ver 3.6

  1. Open this folder: C:\Dokumente und Einstellungen\%username%\ApplicationData\Macromedia\Dreamweaver 8\Configuration\Shared\InterAKT\ServerSide\All\KTML4\includes\ktm\core\

    Note: Please compare the above path to the language version of your Windows XP. This is for german XP
  2. Make a backup of the original file "mozilla_ie_compat.js" to for example "bak_mozilla_ie_compat.js"
  3. Copy the updated file mozilla_ie_compat.js into this folder.
    Download link: https://www.interaktonline.info/products/25-firefox-ver-3.6-breaks-the-ktml-editor-functionality.html
  4. Open Dreamweaver 8 and start the Interakt Control Panel. Chose "Update includes folder" and Very Important --> Uncheck all extensions except KTML 4.1.6
    Now press the button "Update selected" to perform the updates.
  5. Upload your /includes/ktm/ folder to your remote website.

Updated KTML CSS dropdown to work with Firefox ver 3.6

  1. Open this folder: C:\Dokumente und Einstellungen\%username%\ApplicationData\Macromedia\Dreamweaver 8\Configuration\Shared\InterAKT\ServerSide\All\KTML4\includes\ktm\modules\css\

    Note: Please compare the above path to the language version of your Windows XP. This is for german XP
  2. Make a backup of the original file "scripts.js" to for example "bak_scripts.js"
  3. Copy the updated file scripts.js into this folder.
    Download link: https://www.interaktonline.info/products/25-firefox-ver-3.6-breaks-the-ktml-editor-functionality.html
  4. Open Dreamweaver 8 and start the Interakt Control Panel. Chose "Update includes folder" and Very Important --> Uncheck all extensions except KTML 4.1.6
    Now press the button "Update selected" to perform the updates.
  5. Upload your /includes/ktm/ folder to your remote website.

Note: As you can see, steps 4 and 5 are equal in all three procedures. That means, if you want to patch all files at once, you can just run these two steps at the end of all changes.

Conclusion

  1. For existing websites, these steps allow you to update all pages containing KTML-textareas at once, as only the necessary include files will be replaced. All you have to do is upload your ktm-folder to your remote website (see steps 4 and 5 of all described procedures). You don't even have to edit a single form page to apply the changed files.
  2. For new websites, it comes even better. Every page, containing an instance of KTML will automatically use the patched files.
  3. I've successfully done this with all my old and new sites. However, make backups of your files first!
    I'll not guarantee, that this will work on all systems.
Written by:  - 31 Mar, 2010