Solved

Deleting items from FCKEditor toolbar

Posted on 2006-10-20
6
329 Views
Last Modified: 2013-12-16
I am using CFKeditor on a coldfusion site and would like to delete certain actions from the toolbar such as the form building items. Can someone plaeas tell me how this is done. I understand that I can have customized toolbars for every instance where I display the editor but I cannot figure out how this is done.

Thanks.
0
Comment
Question by:tubize
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 52

Expert Comment

by:Ryan Chong
ID: 17775664
try create a customized toolbar, like:

in fckeditor/fckconfig.js, try add:

FCKConfig.ToolbarSets["Style1"] = [
      ['Source','-','NewPage','Preview'],
      ['Cut','Copy','Paste','PasteText','PasteWord'],
      ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
      ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
      '/',
      ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
      ['OrderedList','UnorderedList','-','Outdent','Indent'],
      ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
      ['Link','Unlink','Anchor'],
      ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak','UniversalKey'],
      '/',
      ['Style','FontFormat','FontName','FontSize'],
      ['TextColor','BGColor'],
      ['FitWindow','-','About']
] ;


then in your coldfusion, try set ToolbarSet to "Style1"
0
 
LVL 52

Expert Comment

by:Ryan Chong
ID: 17775727
0
 

Author Comment

by:tubize
ID: 17776505
I am using cfform and I call up fckeditor like this:

<cfformitem type="html">
<cfmodule
      template="/fckeditor/fckeditor.cfm"
      instanceName="content"
      value="#get_content.content#"
      width="100%"
      height="500"
>
</cfformitem>

Where do I place the cfset?

Thanks
0
Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

 

Author Comment

by:tubize
ID: 17776624
That did it. Thanks.
0
 
LVL 52

Accepted Solution

by:
Ryan Chong earned 125 total points
ID: 17776649
I'm not programming in coldfusion for many years now, you may try..


<cfmodule
     template="/fckeditor/fckeditor.cfm"
     instanceName="content"
     toolbarSet = ""
     value="#get_content.content#"
     width="100%"
     height="500"
>

or as refer to the url posted above:

<cfmodule name="path/to/cfc/fckeditor"
        instanceName="myEditor"
        toolbarSet="yourCustomizedToolBarName"
        width="100%"
        height="500"
        value="#get_content.content#"
>
0
 

Author Comment

by:tubize
ID: 17776708
It did it. Thank you very much.

John
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question