hi, I've just starting playing with CKFinder, and think its excellent (license will be bought once its fully integrated with the CMS)
One thing I've noticed though it that the file browser is displaying the .svn directories that Subversion uses. I'd imagine it would be the same for other source control systems such as SourceSafe and its .scc files.
As far as I can tell its not possible to use the AccessControl class to hide files or folders with a certain name. Is something like this planned? A regular expression based hide rule would be fantastic. eg, being able to hide source control files or directories, or hide text files that are used for directory labels.
Or an I missing something in the settings?
One thing I've noticed though it that the file browser is displaying the .svn directories that Subversion uses. I'd imagine it would be the same for other source control systems such as SourceSafe and its .scc files.
As far as I can tell its not possible to use the AccessControl class to hide files or folders with a certain name. Is something like this planned? A regular expression based hide rule would be fantastic. eg, being able to hide source control files or directories, or hide text files that are used for directory labels.
Or an I missing something in the settings?
Re: Is it possible to recursively hide files or folders?
I guess that something similar could be setup for folders also.
Re: Is it possible to recursively hide files or folders?
If you want to disable some specific folders, here's a hack (for PHP version):
core/connector/php/phpX/CommandHandler/GetFolders.php
@line 81, after:
add:
something similar should work also for other connectors.
Note that this code only prevent folders from displaying, it does not disallow viewing/downloading files from those folders if the right path is given manually.
I suppose that we could add this as a new feature.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Is it possible to recursively hide files or folders?
For anybody that wants to use it, wrap a SWITCH statement around the code inside the FOR loop at line 48 in GetFoldersCommandHandler.cs You should end up with something like this:
Using the switch statement you can add multipl folder names that you want to exclude. Once you have rebuild the solution, just copy the resulting DLL to your Bin folder.
thanks very much for all your help guys
Re: Is it possible to recursively hide folders?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Is it possible to recursively hide folders?