I am developing a dialog with codeigniter to manage files on the server.
I do this:
I want to call a view within the dialog to select files to insert in the editor. I could help with ideas on how to develop it?.
PD: excuse my english, I am using a translator, Thanks.
I do this:
I want to call a view within the dialog to select files to insert in the editor. I could help with ideas on how to develop it?.
PD: excuse my english, I am using a translator, Thanks.

Re: Dialog and Manage files
CKEDITOR.plugins.add( 'simpleMyDialog', { init: function( editor ) { editor.addCommand( 'simpleDialog', new CKEDITOR.dialogCommand( 'simpleDialog' ) ); editor.ui.addButton( 'simpleMyDialog', { label: 'Open dialog', command: 'simpleDialog', icon: this.path + 'images/icon.png' } ); CKEDITOR.dialog.add( 'simpleDialog', function( editor ) { return { title : 'File manager', minWidth : 800, minHeight : 400, contents : [ { id : 'general', label : 'Settings', elements : [ { type : 'html', html : 'This is a content html.' }, ] } ], onOk : function() { } }; } ); } } );Re: Dialog and Manage files
Re: Dialog and Manage files
I have another section to upload the files through the dialog box will only select files to add to the editor.
Thanks.
Attachments:
Re: Dialog and Manage files
header('Content-type: application/javascript');Look at this for an example how it works: [url]viewtopic.php?f=11&t=22266[/url]Re: Dialog and Manage files
if you have more material where it can get ideas, welcome =).
Re: Dialog and Manage files