New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using CKFinder.popup on page with get parameter type #328

vaff opened this Issue Jul 21, 2017 · 1 comment


None yet
2 participants

vaff commented Jul 21, 2017


I have some issues with the CKFinder popup. I am using it on a page that already has a get parameters in the url. One of them being type=5 / type=n. This clashes with CKFinder popup since it passes along the parameter to the connector. And we don't have a resourceType called 5. We have pictures, blog, files, news etc.

Is there a way to make popup neglect the current page parameters?

I've tried passing along a pass argument. But that changes nothing.


This comment has been minimized.


zaak commented Jul 21, 2017

Hi @vaff.

CKFinder parses some URL parameters with defined names, so if there's a naming collision it may not work as expected.

The only workaround I can think of (which is kinda hacky) is pushing a new history state, so URL parameters are stripped without page reload. This has to be done before ckfinder.js script is included in the document:

window.history.pushState('', '', window.location.pathname);
<script src="../ckfinder.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment