I tried to reproduce an almost identical configuration as yours on my dev
machine (Magnolia CE 4.4) and everything works fine.
I have a custom module with a mgnl-resources folder containing two custom fck
config files:
1) fck-config.js which simply contains the definition for the "Axioma" (no
spaces) toolbar set, like this
FCKConfig.ToolbarSets["Axioma"] = [
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['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','Blockquote','CreateDiv'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
'/',
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['FitWindow','ShowBlocks','-','About']
// No comma for the last row.
] ;
2) the other file is called fck-init.js and just contains the following line
fckInstance.ToolbarSet = 'Axioma'; (again no spaces)
I eventually configured one fckControl to use those custom files via the option
jsConfigFile pointing to /.resources/fck-config.j and jsInitFile pointing to
/.resources/fck-init.js
Well, the Axioma toolbar shows up and I am able to create hyperlinks. Couple of
things I noticed in the config file you posted on pastebin are a dangling "j"
character at the end of the file and the initial js comment not properly
closed. Maybe that's not your case but still worth double-checking.
HTH,
Federico
On Dec 29, 2010, at 11:42 AM, Tullio Bettinazzi wrote:
>
>
> Reset path as You indicated and now it seems to see the init file (parameter
> jsInitFile) but not the the config file (parameter jsConfigFile).
> The message, now is : Toolbar " Axioma" doesn't exist.
> Please note the space before Axioma, not present in the init file.
> Tks
> Tullio
>
> --
> View this message in context:
> http://old.nabble.com/FCKEditor-error-tp30283806p30550297.html
> Sent from the Magnolia - User mailing list archive at Nabble.com.
>
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------