Where does the CKToolbar.xml come from?

Feb 17, 2011 at 11:46 AM

Hi,

Where does the CKToolbar.xml come from?

Can I adjust this in a new install so it automatically uses my custom editor toolbar? And on creating a new toolbar is puts my custom CKToolbar.xml in the portal root?

Regards,

Ely

Coordinator
Feb 17, 2011 at 2:22 PM

Its currently hardcoded but i could make maybe a web.config setting to use a default one.

Feb 18, 2011 at 7:30 AM

Would be very good :)

Coordinator
Feb 19, 2011 at 2:32 PM

I created a new Setting ck_toolbarfile="~/Portals/_default/CKToolbar.xml" which can be placed inside the web.config

<add name="CKHtmlEditorProvider" type="WatchersNET.CKEditor.CKHtmlEditorProvider, WatchersNET.CKEditor" providerPath="~/Providers/HtmlEditorProviders/CKEditor/" ck_skin="black" ck_toolbar="Full" ck_browser="standard" ck_toolbarfile="~/Portals/_default/CKToolbar.xml" />

It will be automatically uses this file and copy it to the Home Directory of each Portal.