ok I've tried to do this with php but migrating to another server proved the FCKeditor's downfall.....
it couldn't find any of the skins or config files and just showed me the text area minus any buttons...
.....oh well I'll use the javascript version instead.......
so this DOES work but gives me the full set of buttons
<script type="text/javascript">
var oFCKeditor = new FCKeditor('FCKeditor1');
oFCKeditor.BasePath = "fckeditor/";
oFCKeditor.Config["CustomConfigurationsPath"] = "myconfig.js?" + ( new Date() * 1 ) ;
oFCKeditor.Create();
</script>
myconfig.js == the following...
FCKConfig.ToolbarSets["Default"] = [
//['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
['Bold','Italic','Underline'],
'/',
['SpellCheck'],
['Link','Unlink'],
'/',
['OrderedList','UnorderedList','-','Outdent','Indent'],
'/',
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull']
// No comma for the last row.
] ;
I have even tried setting up the default button list in fckconfig.js to be the same as above...guess what...NO CHANGE!!!!!!
could anyone tell me what to do here. PLEASE!!!! (as you may be able to tell, I'm tearing my hair out)
it couldn't find any of the skins or config files and just showed me the text area minus any buttons...
.....oh well I'll use the javascript version instead.......
so this DOES work but gives me the full set of buttons
<script type="text/javascript">
var oFCKeditor = new FCKeditor('FCKeditor1');
oFCKeditor.BasePath = "fckeditor/";
oFCKeditor.Config["CustomConfigurationsPath"] = "myconfig.js?" + ( new Date() * 1 ) ;
oFCKeditor.Create();
</script>
myconfig.js == the following...
FCKConfig.ToolbarSets["Default"] = [
//['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
['Bold','Italic','Underline'],
'/',
['SpellCheck'],
['Link','Unlink'],
'/',
['OrderedList','UnorderedList','-','Outdent','Indent'],
'/',
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull']
// No comma for the last row.
] ;
I have even tried setting up the default button list in fckconfig.js to be the same as above...guess what...NO CHANGE!!!!!!
could anyone tell me what to do here. PLEASE!!!! (as you may be able to tell, I'm tearing my hair out)