|
|
|
Joined: 9/3/2005
Posts: 1
|
|
|
Loaded FCKeditor on multiple dnn installions and it is great! On a customization note; is it possible to make more fonts types available in the editor. Can someone point me in the direction to upload fonts to the editor?
|
|
|
|
| |
|
|
|
in the fckConfig.js, there is a setting
FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ; you can alter this, but be aware, that there are no fonts on the server, the fonts need to be installed on the clients for editing and viewing. The current list is a common font list for html browsers, if you are targeting to an intranet audience with a specific installation (e.g. Windows XP), you can add a list of additional fonts, usually installed.
|
|
|
|
| |
|
|
Joined: 3/29/2005
Posts: 185
|
|
|
Am I editing the correct file? I am trying to change several things on the toolbar... font list, what buttons to show, etc. I can't seem to get the changes to take effect in DNN. I am editing: DSFCKEditorProvider/FCK2/fckconfig.js
Is this the correct file to edit? Do I need to do something other than a CTL refresh to see the changes?
|
|
|
|
| |
|
|
dnn.tiendaboliviana.com Joined: 5/5/2003
Posts: 1126
|
|
|
You must modify: Providers\HtmlEditorProviders\DSFCKEditorProvider\Custom\fckconfig.js
Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
|
|
|
|
| |
|
|
Joined: 3/29/2005
Posts: 185
|
|
|
Ok... I REALLY thought I replied to this yesterday. :(
I edited the file you indicated (fckconfig.js in the custom folder). I have saved the file, ctl refreshed, reset IIS (cuz I'm desperate and will try anything), deleted temporary internet files, etc. The RTE is still showing the original toolbar set. I can't get it to change.
I changed all three toolbar sets to look the same (Default, DNNDefault, and NoGallery), just to cover my bases. Here is what I set them to:
FCKConfig.ToolbarSets[ "Default"] = [
[ 'Source','Preview','-','Templates'],
[ 'Cut','Copy','PasteText','PasteWord','-','SpellCheck'],
[ 'Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
[ 'Bold','Italic','StrikeThrough','-','Subscript','Superscript'],
[ 'OrderedList','UnorderedList','-','Outdent','Indent'],
[ 'JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
[ 'Link','Unlink','Anchor'],
[ 'Image','Flash','Table','Rule','SpecialChar'],
[ 'Style','FontFormat'],['FontSize'],
[ 'TextColor','BGColor']
] ;
FCKConfig.ToolbarSets[ "DNNDefault"] = [
[ 'Source','Preview','-','Templates'],
[ 'Cut','Copy','PasteText','PasteWord','-','SpellCheck'],
[ 'Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
[ 'Bold','Italic','StrikeThrough','-','Subscript','Superscript'],
[ 'OrderedList','UnorderedList','-','Outdent','Indent'],
[ 'JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
[ 'Link','Unlink','Anchor'],
[ 'Image','Flash','Table','Rule','SpecialChar'],
[ 'Style','FontFormat'],['FontSize'],
[ 'TextColor','BGColor']
] ;
FCKConfig.ToolbarSets[ "NoGallery"] = [
[ 'Source','Preview','-','Templates'],
[ 'Cut','Copy','PasteText','PasteWord','-','SpellCheck'],
[ 'Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
[ 'Bold','Italic','StrikeThrough','-','Subscript','Superscript'],
[ 'OrderedList','UnorderedList','-','Outdent','Indent'],
[ 'JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
[ 'Link','Unlink','Anchor'],
[ 'Table','Rule','SpecialChar'],
[ 'Style','FontFormat'],['FontSize'],
[ 'TextColor','BGColor']
] ;
|
|
|
|
| |