Hi! can anyone tell me how I can hide / remove the flash directory from the menu tree in CKFinder?
My client won't be needing it so might as well hide it!
Also, does anyone know if it's possible to set the images directory as the default - currently the files directory is the default when CKFinder loads.
many thanks!
Flemming
My client won't be needing it so might as well hide it!
Also, does anyone know if it's possible to set the images directory as the default - currently the files directory is the default when CKFinder loads.
many thanks!
Flemming
Re: hide the Flash folder from the menu tree
Open config.php with your text editor and go to line 175-200 (dont know the exact line number), or scroll down until you see:
The following lines will define some basic behaviour for Images, Files and Flash. The resources are just an associative array, so by changing the order in which they load, you will change the order in which they appear. I believe you want the following order:
Just comment out the Flash part and it will dissapear.
Cheers
Re: hide the Flash folder from the menu tree
excellent! many thanks for that - it worked perfectly!
just one further question ... if I was wanting to use FCK editor to manage files for a particular section of a CMS, I would probably want it to load up with the Files item as the default.
Is there any way to specify the default (or the order the tree items are displayed) dynamically at the point the CKFinder is called - in a similar way that I can control the width of the iframe like this:
Re: hide the Flash folder from the menu tree
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: hide the Flash folder from the menu tree
cool! thanks
Re: hide the Flash folder from the menu tree
Re: hide the Flash folder from the menu tree
neat idea, thanks Toxin!