Where does the CKToolbar.xml come from?

Feb 17, 2011 at 12:46 PM


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?



Feb 17, 2011 at 3:22 PM

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

Feb 18, 2011 at 8:30 AM

Would be very good :)

Feb 19, 2011 at 3: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.