Technote Details :: Working with MX Kollection 2 and KTML 4

Issue

If you try to use features from MX Kollection 2 and the KTML 4 control, you will encounter function redeclaration errors.

Reason

This happens because KTML 4 uses parts of MX Kollection 3 for the server-side interaction. Some of the functions in MX Kollection 3 also existed in MX Kollection 2 and when the files containing them are included into the same page you will get errors.

Solution

In order to make the two compatible, you must make changes to the files where functions are redeclared:

  1. Open the includes/common/KT_functions.inc.xxx file in Dreamweaver.
    Note: replace .xxx with the extension required by your server model - .php, .cfm or .asp
  2. Locate the KT_redir function declaration. Comment the entire function code.
  3. Using Find and Replace change all occurrences of the KT_convertDate text with KT_convertDateNew.
  4. Save the file and close it. Upload the file to the remote server and reload the page that caused errors in the browser again. All works fine now.

Home > Support > Knowledge Base > Technote Details
Search the Knowledge Base
© Adobe Systems Romania. All rights reserved.