I'm using CKFinder simply as a way of adding images to personal document (Blogs, ePortfolio pages, Wiki pages, and so on) to a Web site. I would like to hide the "Browse Server" button on the Link tab of the CKFinder images properties dialog box. Is there a way to do this?
Thanks.
Mike
Thanks.
Mike

Re: Hiding Browser Server Button
If you are using the ckEditor to integrate the ckFinder with so i can help you as you can find browse server button style in the following path ckeditor\plugins\image\dialogs\image.js
1) search for the following line in the file: "{type:'button',id:'browse',style:'display:inline-block;margin-top:10px;'......}" and replace it with {type:'button',id:'browse',style:'display:none;margin-top:10px;'
2) search for the following line in the same file "{type:'button',id:'browse',filebrowser:......,style:'float:right'"
and replace it with : "{type:'button',id:'browse',filebrowser:....,style:'display:none;float:right'"
What i m trying to do here is to give the button style display:none.
Best,
Samir
Re: Hiding Browser Server Button
All the best,
Mike
Re: Hiding Browser Server Button
CKEDITOR.replace( 'editor1', { // Link dialog, "Browse Server" button filebrowserBrowseUrl : '/ckfinder/ckfinder.html', // Image dialog, "Browse Server" button filebrowserImageBrowseUrl : '/ckfinder/ckfinder.html?type=Images', // Flash dialog, "Browse Server" button filebrowserFlashBrowseUrl : '/ckfinder/ckfinder.html?type=Flash', // Upload tab in the Link dialog filebrowserUploadUrl : '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files', // Upload tab in the Image dialog filebrowserImageUploadUrl : '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images', // Upload tab in the Flash dialog filebrowserFlashUploadUrl : '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash' } );So, to use CKFinder only in the Image dialog, use the following:
CKEDITOR.replace( 'editor1', { // Image dialog, "Browse Server" button filebrowserImageBrowseUrl : '/ckfinder/ckfinder.html?type=Images', // Upload tab in the Image dialog filebrowserImageUploadUrl : '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images', } );Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+