I recently upgraded to CKFinder 2.1. The previous setup as shown below was working fine before the upgrade.
I have used the following to call CKFinder
$finder = new CKFinder();
$finder->Height = 640;
$finder->BasePath = '/ckfinder/';
$finder->StartupPath = 'Docs:/test1/';
$finder->StartupFolderExpanded = true;
$finder->RememberLastFolder = false;
$finder->Create();
everything WORKS as before, except the startup folder always defaults to "Docs" (or the first resource type in the list), not what is specified in StartupPath.
RememberLastFolder works as expected if set to true.
I have used the following to call CKFinder
$finder = new CKFinder();
$finder->Height = 640;
$finder->BasePath = '/ckfinder/';
$finder->StartupPath = 'Docs:/test1/';
$finder->StartupFolderExpanded = true;
$finder->RememberLastFolder = false;
$finder->Create();
everything WORKS as before, except the startup folder always defaults to "Docs" (or the first resource type in the list), not what is specified in StartupPath.
RememberLastFolder works as expected if set to true.
Re: startupPath
replace line #41
with
and now it works.
Re: startupPath
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+