Hi,
I want to implement ckfinder with ckeditor. With a normal utilisation, everything is ok.
But, that i want to do, is to automatically chose the directory to browse.
For instance, i use this to post news an website (like a blog). I will create folder like this :
/www/mysite/img/year/month/post_id (= /www/mysite/2011/10/25) -> in that folder, i will autorize to post pictures in it but only in that folder for this post. Do you follow me ?
So, i would like to configurate the folder to call, in the ckfinder app.
I see where i should personnalise the variable :
$config['ResourceType'][] = Array( 'name' => 'Images', 'url' => $baseUrl . "/2011/10/25", 'directory' => $baseDir . "/2011/10/25", 'maxSize' => 0, 'allowedExtensions' => 'bmp,gif,jpeg,jpg,png', 'deniedExtensions' => '');
--> the problem that it has to be dynanmic... and i don"t know how to do it :'(
Any ideas ?
Many thks!! you'll save my life
Re: ckfinder + ckeditor : auto directory
Re: ckfinder + ckeditor : auto directory
I think about add inegration with spring and spring security. Can I do at by licence? Can I publish cahnges in future to help another developer
Re: ckfinder + ckeditor : auto directory
Hi!
I achieve it by using SESSION like that :
In config.php :
In my php files I use
I don't know if it's the perfect way to do it, but it works !
See U