Hello
I have this problem :
I have created a HtmlEditorField (see code below)
The field is there accordin to database plumber but when I save some content in it the content just disapears and is not saved but i dont get any error it says 'saved'.
Any idea ?
class ArtistePage extends Page
{
static $has_one = array(
'ArtistePortrait' => 'Image',
'ArtisteBio'=> 'File',
'ArtistText' => 'HTMLText',
'ArtistePresse'=> 'File'
);
static $many_many = array(
'Oeuvres' => 'Oeuvre'
);
static $allowed_children = array(
'none' => 'none'
);
function getCMSFields()
{
$fields = parent::getCMSFields();
//Portrait Images
$fields->addFieldToTab("Root.Content.Portrait", new ImageField('ArtistePortrait', 'Portrait', Null, Null, Null, 'Uploads/Artiste_Portraits'));
$fields->addFieldToTab("Root.Content.ArtisteBio", new FileUploadField('ArtisteBio', 'UploadArtiste Bio'));
$fields->addFieldToTab("Root.Content.ArtistePresse", new FileUploadField('ArtistePresse', 'Upload Artiste Presse'));
$fields->addFieldToTab('Root.Content.Artist Texte', new HtmlEditorField('ArtistText'));
return $fields;
}
}
Thanks