Extend Kooboo ControlType
Kooboo UI is based on ExtJs. There are quiet some ControlTypes in ExtJs already. In the case you may want to extend your own ControlType. Kooboo provides three example HTML editor ControlType extensions, Tinymce, CKeditor and the Html editor from Telerik. All of them are disable by default.
Enable Tinymce and CKeditor
Because of the extra JavaScript load, we disable them by default. To enable them is very simple. Go to web.config, change below key value to true in the <appSettings>:
<add key="enabledTinymce" value="True"/>
<add key="enabledCKEditor" value="True"/>
Enable Telerik editor
Telerik editor is a commercial product, we do not have the rights to distribute it. You need to obtain the license yourself and then follows below steps.
Step 1: Copy Telerik.web.ui.dll into Kooboo cms bin folder.
Step 2: Enable Telerik in the web.config. First change below value in the web.config to true.
<appSettings> <add key="enabledRadEditor" value="true"/> </appSettings>
Step 3: Add the Telerik http handler as required by Telerik, change the version # yourself.
Step 4: Include Telerik view page. 3 view pages under the folder of \Views\Telerik. You can right click them on VS.NET, then select "Include In Project" to include them or by remove the ".exclude" file extension.
You are done. To write your own controlType, there is a thread in the forum about this, see: http://forum.kooboo.com/yaf_postst58_Hide-schema-field-in-form.aspx, look for reply #5.
