You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public function getCMSFields() {
$fields = new FieldList(
TextField::create("Title", _t("BlogCategory.Title", "Title"))
);
$this->extend("updateCMSFields", $fields);
return $fields;
}
I think this piece of code somehow interferes with your multilingual module, als an error is thrown as soon as I'm trying to create/edit a BlogCategory in the CMS:
[User Error] FieldList::addFieldToTab() Tried to add a tab to object 'FieldList' - 'Root' didn't exist.
Can you have a look?
The text was updated successfully, but these errors were encountered:
public function getCMSFields() {
$fields = new FieldList(
TextField::create("Title", _t("BlogCategory.Title", "Title"))
);
$this->extend("updateCMSFields", $fields);
return $fields;
}
I think this piece of code somehow interferes with your multilingual
module, als an error is thrown as soon as I'm trying to create/edit a
BlogCategory in the CMS:
[User Error] FieldList::addFieldToTab() Tried to add a tab to object
'FieldList' - 'Root' didn't exist.
Can you have a look?
—
Reply to this email directly or view it on GitHub #1.
Hi! I'm using blogger module https://github.com/micmania1/silverstripe-blogger and have set class BlogCategory to extends MultilingualDataObject.
This is in the original BlogCategory:
I think this piece of code somehow interferes with your multilingual module, als an error is thrown as soon as I'm trying to create/edit a BlogCategory in the CMS:
[User Error] FieldList::addFieldToTab() Tried to add a tab to object 'FieldList' - 'Root' didn't exist.
Can you have a look?
The text was updated successfully, but these errors were encountered: