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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

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

CustomConfigHtmlEditorField from silverstripe-recipes


Go to End


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