title: Integrating CKFinder with InnovaStudio WYSIWYG Editor
body: <p>I use <a href="http://www.innovastudio.com/" rel="nofollow noreferrer">InnovaStudio WYSIWYG Editor</a>, and I am trying to replace InnovaStudio's Asset Manager with <a href="http://ckfinder.com/" rel="nofollow noreferrer">CKFinder</a>. There's a line in the editor configuration for what URL to use for the asset manager. I have pointed it at CKFinder. The part I can't get to work is getting the field to populate with the double-clicked file's path from CKFinder.</p>
  
  <p>It appears to use the 'func' parameter to specify the callback function.  The URL I'm calling is: <code>/common/ckfinder/ckfinder.html?action=js&amp;func=setAssetValue</code></p>
  
  <p>The InnovaStudio WYSIWYG Editor provides the <code>setAssetValue(v)</code> callback function for setting the field value. The <code>v</code> parameter should hold the URL.</p>
  
  <p>CKFinder pops up as expected when it's invoked, but neither double-clicking the thumbnails nor using the "select" option in the context menu works.  The normal/expected behavior is that CKFinder closes and the target field is populated with the URL for the selected asset.</p>
  
  <hr>
  
  <p><strong>Additional Info:</strong> The InnovaStudio WYSIWYG Editor has a "popup" for adding an image or flash file to the content. This pop-up is in an iframe. When it calls CKFinder (or it's own asset manager), that is also in an iframe. It appears that CKFinder is looking in the scope of the main window rather than the image/flash iframe that actually contains the field that needs to be populated.</p>