northcreation-agency / multilingual Goto Github PK
View Code? Open in Web Editor NEWMultilingual support for Silverstripe, an alternative way
Home Page: http://www.kreationsbyran.se/blogg/multilingual-module-for-silverstripe
License: Other
Multilingual support for Silverstripe, an alternative way
Home Page: http://www.kreationsbyran.se/blogg/multilingual-module-for-silverstripe
License: Other
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:
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?
When using Multilingual together with UserDefinedForm module this error occurs when trying to opening the UserDefinedForm in the CMS:
[User Error] collateDataFields() I noticed that a field called 'Title_en'
appears twice in your form: '(unknown form)'. One is a 'TextField'
and the other is a 'TextField'
I can make the error go away by removing $this->extend('updateCMSFields', $fields); from UserForms' public function getCMSFields()
What is the best way to deal with this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.