Hi,
we want to enable the Users to create only one Layer of Folder below their BaseURL (Like an Album).
Ist it / how is it possible to do this (with ASP.NET 4.0 and CKFinder 2.1.1)?
regards
Christoph
we want to enable the Users to create only one Layer of Folder below their BaseURL (Like an Album).
Ist it / how is it possible to do this (with ASP.NET 4.0 and CKFinder 2.1.1)?
regards
Christoph
Re: Limit Folder Depth for new created folders
Currently there is no such setting although sound like interesting feature (I will add it to our internal track and see what others will say).
I your users were allowed to have only one folder than you could apply the following workaround:
Re: Limit Folder Depth for new created folders
thank you for the reply.
Your Workaround does not work for us, because we would like to allow the Users to create many Folders (=Album) under their Root, but no subfolder within the Album.
It would also be nice to limit the Number of folders to fit the Scenario: Normal Users: max 5 Folders, Preimium User: max 100 Folders).
Maybe you think about any kind of hook to the create folder function.
regards
Christoph
Re: Limit Folder Depth for new created folders
I have reported your request so it may be implemented in the future (I can’t make any promises though).
Mean while you could try creating your own plugin which is executed when 'CreateFolder' command is used.
Such plugin would check how many folders user has and if he is allowed to create another one. If so execution would be passed further if not it would be cancelled with a message returned to the user.
Such plugin would have to be registered as one of BeforeExecuteCommand plugins.
How to write plugins can be found here: http://docs.cksource.com/CKFinder_2.x/D ... ET/Plugins