Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

CustomConfigHtmlEditorField from silverstripe-recipes


Reply


475 Views

Avatar
dgaussin

Community Member, 4 Posts

30 August 2011 at 12:44am

Hi,

I try to run the CustomConfigHtmlEditorField from the silverstripe-recipes (https://github.com/silverstripe-labs/silverstripe-recipes/blob/master/forms/CustomConfigHtmlEditorField.php)

I tried the recipe (added CustomConfigHtmlEditorField class, put your example in _config.php for the new htmlconfig, and called the new field in my getCMS) but the tinymce is not initialized. I can't even find the "behavior" generated from CustomConfigHtmlEditorField->include_js() in my page source code.

Has anyone succeeded to do it ?

Thanks,
David.