Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTMLEditorField does not provide: 'FieldName' => 'HTMLText', #30

Open
MischaKr opened this issue Apr 7, 2014 · 0 comments
Open

HTMLEditorField does not provide: 'FieldName' => 'HTMLText', #30

MischaKr opened this issue Apr 7, 2014 · 0 comments

Comments

@MischaKr
Copy link

MischaKr commented Apr 7, 2014

in yml:
ExtraContent: {CMSField: HTMLEditorField}

Produces:
$fields->addFieldToTab("Root.Main", new HTMLEditorField('ExtraContent', _t('EventPage.EXTRACONTENT', 'Extra Content')), 'Content');

But not the:
static $db = array (
'ExtraContent' => 'HTMLText',
);


Workaround:
Using type: Wysiwyg

Like:
ExtraContent: {CMSField: Wysiwyg}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant