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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

CustomConfigHtmlEditorField from silverstripe-recipes


Go to End


817 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.