All Portals Configuration

May 19, 2015 at 6:00 PM
I would like to configure a set of default CKEditor settings and apply them to all portals, current and future on a single DNN install. What is the best way to go about doing this?
Thanks
Rut Scarborough
Coordinator
May 21, 2015 at 8:30 AM
The best option is to create a customized CKEditorDefaultSettings.xml file that file is located under ..\Portals_default.

When you open the Editor in any module in one of your portals this settings file is copied to the portal home folder "..\Portals[PORTALID or PORTAL ALIAS]" and renamed to CKEditorSettings.xml.

To modify you could ether manually edit the file or create the file from within the settings window where you can export the settings, which will create the right file. (But you have to then rename it to CKEditorDefaultSettings.xml and copy it to the _default folder).

If you also want to use Custom ToolbarSets then it is the same steps with one exception that the file is always named CKToolbarSets.xml and CKToolbarButtons.xml.

Two more notes.
  1. this settings file is only used if no portal/page/or module settings are saved in the data base.
  2. If you have created the CKEditorDefaultSettings.xml be aware that this file is will be overridden with the default one when you upgrade to a newer provider version in the future. So you would need to make a backup first before you upgrade.