<![CDATA[ [Tip] Custom Toolbars in FCKEditor - My Forums]]> https://forums.modx.com/thread/?thread=19680 <![CDATA[Re: [Tip] Custom Toolbars in FCKEditor]]> https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor?page=2#dis-post-109265 Bravado May 02, 2006, 09:49 AM https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor?page=2#dis-post-109265 <![CDATA[Re: [Tip] Custom Toolbars in FCKEditor]]> https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor?page=2#dis-post-109264 $fck_editor_toolbar_customset. Or at least it should be. The problem appears to be that that variable is not given a value anywhere. I searched all the MODx files and nowhere is there a $fck_editor_toolbar_customset = XXX. So it’s no wonder that it always defaults to the default custom set: [’Bold’,’Italic’,’Underline’,’-’,’Link’,’Unlink’]

Perhaps I’ll look at a 0.9.0 version of MODx and see if I can find out where that value is supposed to be assigned. In the meantime, if anyone knows the intimate details of FCK, please feel free to speak up!]]>
jaredc May 02, 2006, 08:37 AM https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor?page=2#dis-post-109264
<![CDATA[Re: [Tip] Custom Toolbars in FCKEditor]]> https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor#dis-post-109263
// custom
// Original bit:
// FCKConfig.ToolbarSets["custom"] = parent.FCKCustomToolbarSet;
// End original bit
FCKConfig.ToolbarSets["custom"] = [
    ['Source','FontFormat','Bold','Italic','-','Subscript','Superscript'],
    ['OrderedList','UnorderedList'],
    ['Rule','Image','Link','Unlink']
];

Anyone else experience this? Or is this another case of funky Jared unique issue blues??

Looking at the siteCache.idx.php file, I see that what I’m getting is the "default" custom menu. So for some reason... the custom set I declare isn’t getting picked up. Could this simply be a matter of needing to "refresh the site"...? (Tries that...) Nope.

// ... from siteCache.idx.php
$tbCustomset = isset($fck_editor_toolbar_customset) ? htmlspecialchars($fck_editor_toolbar_customset) : "[\'Bold\',\'Italic\',\'Underline\',\'-\',\'Link\',\'Unlink\']";
]]>
jaredc Apr 18, 2006, 06:34 AM https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor#dis-post-109263
<![CDATA[Re: [Tip] Custom Toolbars in FCKEditor]]> https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor#dis-post-109262
The custom web toolbar config chops off anything after 227 characters. For example, this:
['Preview'],['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],['Bold','Italic','Underline'],['OrderedList','UnorderedList','-','Outdent','Indent'],['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],['Image','Table','Rule','SpecialChar','PageBreak','UniversalKey'],'/',['Style'],['FontFormat'],['FontName'],['FontSize']

Gets truncated to this:
['Source','DocProps','-','NewPage','Preview','-','Templates'],['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],['Bold','Italic','Underli
]]>
rethrash Nov 14, 2005, 09:05 AM https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor#dis-post-109262
<![CDATA[Re: [Tip] Custom Toolbars in FCKEditor]]> https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor#dis-post-109261

Where would one go about customizing the style menu? (the one with custom bold, custom italic, code (orange/outlined), etc.)?]]>
rethrash Nov 14, 2005, 08:55 AM https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor#dis-post-109261
<![CDATA[Re: [Tip] Custom Toolbars in FCKEditor]]> https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor#dis-post-109260 rethrash Nov 14, 2005, 07:59 AM https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor#dis-post-109260 <![CDATA[Re: [Tip] Custom Toolbars in FCKEditor]]> https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor#dis-post-109259
]]>
Bravado Nov 14, 2005, 12:47 AM https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor#dis-post-109259
<![CDATA[Re: [Tip] Custom Toolbars in FCKEditor]]> https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor#dis-post-109258 rethrash Nov 13, 2005, 03:40 PM https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor#dis-post-109258 <![CDATA[Re: [Tip] Custom Toolbars in FCKEditor]]> https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor#dis-post-109257
Thanks for sharing great tip smiley

regards,

zi]]>
zaigham Oct 10, 2005, 08:43 PM https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor#dis-post-109257
<![CDATA[Re: [Tip] Custom Toolbars in FCKEditor]]> https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor#dis-post-109256 rethrash Oct 09, 2005, 07:51 AM https://forums.modx.com/thread/19680/tip-custom-toolbars-in-fckeditor#dis-post-109256