I'd like to avoid editing the fckconfig.js to remove toolbar buttons from my editor (helps with upgrades!). It looks like it's just part of the config structure, which I use elsewhere.. ie,
<cfset fckEditor.config.StylesXmlPath = "/foo.xml">
However, I can't figure out quite how to do this with the ToolbarSets config directive.
Ie:
<cfset fckEditor.config.ToolbarSets.Default = "['Source']">
That code generates an expression error GetConfigFieldString() function.
How can I do this?
Rick
How can I do this?
<cfset fckEditor.config.StylesXmlPath = "/foo.xml">
However, I can't figure out quite how to do this with the ToolbarSets config directive.
Ie:
<cfset fckEditor.config.ToolbarSets.Default = "['Source']">
That code generates an expression error GetConfigFieldString() function.
How can I do this?
Rick
How can I do this?
RE: Modifying Toolbar with Coldfusion
in my coldfusion intialization, I'm doing:
<cfset fckEditor.config.CustomConfigurationsPath = "/fck_toolbarsets.js">
<cfset fckEditor.create()>
But it is NOT loading the configurations file. It's not accessed - I checked the logs.. not even a 404 error.. it's just not being accessed.
I should mention that I'm using FCKeditor 2.0 production.
RE: Modifying Toolbar with Coldfusion
It works fine when I install everything on my linux server running apache, but when I put the same files on Windows running IIS 6, it does not work. The custom configuration file is never accessed.
What the heck?