Hi,
I have been setting up a website that uses CKEditor and CKFinder. Both are working well, except for one issue with CKFinder.
Due to the site being a basic CMS, I have made a custom link browser, which is launched from the Link Dialog in CKEditor. On this custom link browser, one option is to browse the server for a file using a CKFinder popup. For this CKFinder popup, I have used the code in the samples folder for the popup example. When the link browser is launched from CKEditor, and the CKFinder popup is launched from the link browser, the problem appears. In this CKFinder popup, none of the buttons on the top bar (Upload, Refresh, etc) work. This means that no files can be uploaded, or the folder refreshed, which is an issue.
I have tried numerous code changes on the link browser, but none fix the issue with the buttons. I also tried just launching the link browser from a html page with only a button and text box on it, with the button opening the link browser popup. On this popup, the same CKFinder issue occurs.
However, if I browse straight to the address of the link browser (without going through the CKEditor link dialog), and launch the CKFinder popup, there is no problem with the popup, and all buttons work properly. In this case, the CKFinder popup is the only popup.
From these tests, it appears that the problem arises when a CKFinder popup is launched from another popup window. Is there anything that can be done to fix this?
If you need more examples of the files, I can provide the code.
Thanks,
Joel
I have been setting up a website that uses CKEditor and CKFinder. Both are working well, except for one issue with CKFinder.
Due to the site being a basic CMS, I have made a custom link browser, which is launched from the Link Dialog in CKEditor. On this custom link browser, one option is to browse the server for a file using a CKFinder popup. For this CKFinder popup, I have used the code in the samples folder for the popup example. When the link browser is launched from CKEditor, and the CKFinder popup is launched from the link browser, the problem appears. In this CKFinder popup, none of the buttons on the top bar (Upload, Refresh, etc) work. This means that no files can be uploaded, or the folder refreshed, which is an issue.
I have tried numerous code changes on the link browser, but none fix the issue with the buttons. I also tried just launching the link browser from a html page with only a button and text box on it, with the button opening the link browser popup. On this popup, the same CKFinder issue occurs.
However, if I browse straight to the address of the link browser (without going through the CKEditor link dialog), and launch the CKFinder popup, there is no problem with the popup, and all buttons work properly. In this case, the CKFinder popup is the only popup.
From these tests, it appears that the problem arises when a CKFinder popup is launched from another popup window. Is there anything that can be done to fix this?
If you need more examples of the files, I can provide the code.
Thanks,
Joel

Re: CKFinder popup problem
Re: CKFinder popup problem
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: CKFinder popup problem
http://localhost/tfac/lib/tfac_browser.php
Attachments:
Re: CKFinder popup problem
Replace
window.parent.CKFinder._
with
window.parent.opener.CKFinder._
Re: CKFinder popup problem
Just wondering how you replace "window.parent.CKFinder._" with "window.parent.opener.CKFinder._" in the compressed/minified ckfinder.js file?
This is where it needs to change, yes?
Any help is much appreciated.
Cheers.
Re: CKFinder popup problem
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+