Custom Config File: Opiton

Jul 23, 2013 at 6:03 PM
Trying to figure out the file type for this in the editor options. I am looking at adding below like code that normal goes on config.js to help remove dialog boxes etc. I have snyc the files but no seeing .js or .xml file. Currently just adding it to config.js since I know it works just have to backup before another update.

CKEDITOR.on( 'dialogDefinition', function( ev )
  // Take the dialog name and its definition from the event data.
  var dialogName =;
  var dialogDefinition =; = CKEDITOR.DIALOG_RESIZE_NONE;

  // Check if the definition is from the dialog we're
  // interested in (the 'link' dialog).
  if ( dialogName == 'link' )....
Jul 24, 2013 at 5:59 AM
It mus be a .js file. But by default dnn doesnt allow js files you need to add it to the allowed extension list.
  • Go To Host -> Host Settings ->Other Settings -> Allowable File Extensions and add ",js" to the list
  • Then Synchronize the folders again, and the js files will appear.
Jul 24, 2013 at 2:55 PM
Thanks for the help. I don't know why I did not think of that. I just noticed everything else was changing to xml and was not sure what it need to be. Thanks again it is working just great!