Any idea how to move the userfiles directory? CKFinder and CKEditor work in an asp.net installation until I edit the CKFinder config.ascx file, changing the BaseUrl value to "/lib/". The CKFinder file browser works, but the browse option from with CKEditor continues to use the userfiles directory.
Thanks,
Ed
Additional info:
The page I am testing this from is based on the /ckfinder/_samples/aspx/standalone.aspx file, but I have both the editor and the file browser loading on the page for testing purposes:
<h2>CKEditor</h2>
<CKEditor:CKEditorControl ID="CKEditorControl1" runat="server"></CKEditor:CKEditorControl>
<h2>CKFinder</h2>
<CKFinder:FileBrowser ID="FileBrowser1" runat="server"></CKFinder:FileBrowser>
The code behind file has:
protected override void OnLoad(EventArgs e)
{
CKFinder.FileBrowser _FileBrowser = new CKFinder.FileBrowser();
_FileBrowser.BasePath = "/ckfinder/";
_FileBrowser.SetupCKEditor(CKEditorControl1);
}
Thanks,
Ed
Additional info:
The page I am testing this from is based on the /ckfinder/_samples/aspx/standalone.aspx file, but I have both the editor and the file browser loading on the page for testing purposes:
<h2>CKEditor</h2>
<CKEditor:CKEditorControl ID="CKEditorControl1" runat="server"></CKEditor:CKEditorControl>
<h2>CKFinder</h2>
<CKFinder:FileBrowser ID="FileBrowser1" runat="server"></CKFinder:FileBrowser>
The code behind file has:
protected override void OnLoad(EventArgs e)
{
CKFinder.FileBrowser _FileBrowser = new CKFinder.FileBrowser();
_FileBrowser.BasePath = "/ckfinder/";
_FileBrowser.SetupCKEditor(CKEditorControl1);
}
Re: How to change userfiles directory?
/ckfinder/_samples/aspx/standalone.aspx
but the CKEditor integration shows still the old location, is that right?
The only reason for this that comes to mind mind is that you have integrated a different instance of CKFinder with CKEditor or browser's cache...
Any chance to see it live?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: How to change userfiles directory?
I don't think browser cache is the issue, because I set this up on a separate domain, made sure to clear browser cache, etc. and the problem persisted.
Have you had a chance to check out the domain I emailed you separately about where an example of this is set up?
-Ed
Re: How to change userfiles directory?
-Ed