Details
-
Improvement
-
Resolution: Fixed
-
Major
-
1.0.2
-
-
Yes
-
Empty show more show less
Description
Hi there
I just had to fix this issue for our current project.
I have looked at the old fck editor and implemented the feature the same way...
The following changes were necessary:
- Implement public String select() {} in CKRepositoryBrowserPage to call setSelectedPath()
- Update filebrowser and imagebrowser urls in config
config.filebrowserLinkBrowseUrl = cfg.contextPath + "/.magnolia/pages/ckRepositoryBrowser.html?contextPath=" + cfg.contextPath + ""; config.filebrowserImageBrowseUrl = cfg.contextPath + "/.magnolia/pages/ckRepositoryBrowser.html?contextPath=" + cfg.contextPath + "&selectedRepository=dms";
- Add CKRepositoryBrowserPage.html ("show" template) to read the absoluteURI from opener.CKEDITOR and update the window.location.href
Checklists
Acceptance criteria