I'm struggling with the SimpleHTMLEditorField in a DOM Popup. I'm working on my latop under Win7 and Wamp. If I edit my Newssection (which has an HTMLEditor in the fieldlist), everything is fine. If I upload the code to my Linux Hostingprovider, the htmleditor will not show up. I also tried the SimpleTinyMCEField and SimpleWysiwygField. Evertime the effect is nearly the same. If I use SimpleHTMLEditorField the filed will no shown up, with SimpleTinyMCEField at least a Textares shows up (but without controls). Any idea? I tried to delete all the old code from the hosting server and uploaded it again. But there was no change. Is there maybe a wrong path somewhere (case sensitiv)?
Here's my code:
$fields = new FieldSet(
new SimpleTinyMCEField('Text', _t('News.TEXT','Text')),
new DatePickerField('ShowFrom', _t('News.SHOWFROM','Show from')),
new DatePickerField('ShowTill', _t('News.SHOWTILL','Show till')),
3 May 2010 at 11:17am
(Last edited: 3 May 2010 11:20am),
Google Summer of Code Hacker,
This is the same issue as in http://www.silverstripe.org/dataobjectmanager-module-forum/show/283189#post283189
This has been working something like 2 or 3 weeks ago (with SS trunk), but right now the buttons disappear (TinyMCE and Wysiwyg) or the whole field, as the class "hidden" is added to it (HTMLEditor). This only happens if you are in production mode.
As a quick fix you can use .../admin/?isDev=1 in production mode and the field is working again.
I think the combination of JS files is breaking something - UncleCheese could you please help us out? Thanks!
PS: Using trunk for both SilverStripe and DataobjectManager
4 May 2010 at 8:31pm
(Last edited: 4 May 2010 8:31pm),
This worked for me in most of my popups. I resolved the remaining issues by tracing the problem down to a conflict with a workaround I was using for the DatePickerField where I was doing the following: