Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorCustom FCKeditor ToolbarCustom FCKeditor Toolbar
Previous
 
Next
New Post
8/7/2007 5:53 PM
 

Is it possible (and not too difficult) to customize a toolbar, made from elements of other FCKeditor 2.4.1 toolbars? I would like my custom toolbar to appear in the Show Custom Editor Options > Editor Toolbar View Options (section), and be assigned to All Users.

I would like to have a simple toolbar that has:

Bold
Italic
Insert/Remove Numbered List
Insert/Remove Bulleted Lists
Insert/Edit Link
Remove Link
Undo/Redo

By disabling all toolbars, I get the above, except not the Undo/Redo function/buttons.

So another way to look at this is that I want to add Undo/Redo to the state of FCKeditor when no toolbars are active.


If a problem can be solved, there's no use worrying about it.
If it can't be solved, worrying will do no good.
 
New Post
8/7/2007 10:22 PM
 

You can build your own toolbar in the custom/fckconfig.js file

After that, include the name of your toolbar in the editor setcion at web.config


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
New Post
8/8/2007 11:14 AM
 

[DotNetNuke 4.5.4/FCKeditor 2.4.1]

Thank you. This was exactly the level of kick-start I needed to make my own toolbar. Actually, the FCKeditor 'Basic' toolbar was everything I was looking for, except it was missing Undo/Redo. Here's exactly what I did to Add Undo and Redo to the Basic toolbar:

Make a backup/copy of the file: ...\Providers\HtmlEditorProviders\Fck\Custom\fckconfig.js
Edit fckconfig.js
Find the 'Basic' toolbar definition:

FCKConfig.ToolbarSets["Basic"] = [
 ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
] ;

Insert the Undo and Redo buttons:

FCKConfig.ToolbarSets["Basic"] = [
 ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','Undo','Redo','-','About']
] ;

Save fckconfig.js and exit.

Make a backup/copy of .../web.config
Edit web.config
Find the FCKeditor section that includes:

AvailableToolBarSets="DNNDefault,Default,NoGallery,Basic"
     DefaultToolbarSet="DNNDefault"
     DefaultImageGallerySkin="Default"
     DefaultFlashGallerySkin="Default"
     DefaultLinksGallerySkin="Default"
     FCKDebugMode="false"
     UseFCKSource="false"
     OptionsOpenMode="ShowModalDialog"
     CustomOptionsDialog="Admin" />

Change: DefaultToolbarSet="Basic"

Save web.config and exit.


If a problem can be solved, there's no use worrying about it.
If it can't be solved, worrying will do no good.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorCustom FCKeditor ToolbarCustom FCKeditor Toolbar


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out