My declaration is: $finder = new CKFinder() ; $finder->BasePath = '../../' ; // The path for the installation of CKFinder (default = "/ckfinder/"). $finder->SelectFunction = 'ShowFileInfo'; $finder->Create() ;
Can anyone tell me if there is a way to disable file downloads from The Internet that is available from within IE 5/5.5 or WinNT4/5 or must i look into third party product ?? Thanks in advance
Re: how to disable file downloads?
Es estupido que exista un permiso que controle la subida de archivos y que se hayan olvidado de un permiso que controle la descarga!
Este foro de soporte es una mentira!
Re: how to disable file downloads?
var finder = new CKFinder(); finder.basePath = '/ckfinder/'; finder.callback = function( api ) { // Disable download function api.disableFileContextMenuOption( 'downloadFile', false ); // Disable "View" option api.disableFileContextMenuOption( 'viewFile' ); }; finder.create();Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: how to disable file downloads?
$finder = new CKFinder() ;
$finder->BasePath = '../../' ; // The path for the installation of CKFinder (default = "/ckfinder/").
$finder->SelectFunction = 'ShowFileInfo';
$finder->Create() ;
and place the statement?
finder.callback = function( api ) {
// Disable download function
api.disableFileContextMenuOption( 'downloadFile', false );
// Disable "View" option
api.disableFileContextMenuOption( 'viewFile' );
};
¿?
Help Please.
Thank you!
Re: how to disable file downloads?
Thanks!
Urgent - Re: how to disable file downloads?
I need support please!
Need Help please -> Re: how to disable file downloads?
Re: how to disable file downloads?
@wiktor gave you a solution how to disable file downloads in CKFinder. Please use it.
It should be something like this:
$finder = new CKFinder() ; $finder->BasePath = '../../' ; // The path for the installation of CKFinder (default = "/ckfinder/"). $finder->SelectFunction = 'ShowFileInfo'; finder.callback = function( api ) { // Disable download function api.disableFileContextMenuOption( 'downloadFile', false ); // Disable "View" option api.disableFileContextMenuOption( 'viewFile' ); }; $finder->Create() ;Re: how to disable file downloads?
CKFinder in my folder root / inc / CKFinder
and
FCKEditor folder in the root / inc / fckeditor
The call to "new CKFinder ()" is found in many files.
I have to modify that file?
Re: how to disable file downloads?
Thanks in advance
Re: how to disable file downloads?
Re: how to disable file downloads?
Re: how to disable file downloads?
Attachments: