-
Notifications
You must be signed in to change notification settings - Fork 2
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
Multilingual doesn't work correct with UserDefinedForms module #2
Comments
PS. This is the full getCMSFields() from UserDefinedForm:
|
Weird, how does the getCMSFunction in your page.php look like? Med vänliga hälsningar http://www.kreationsbyran.se/ På 11 juni 2015 till 11:45:42, mschilder ([email protected]) skrev: 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? — |
Thanks, there I found the cause of this problem: SiteTree::disableCMSFieldsExtensions(); Sorry for bringing this up! On Thursday 11 June 2015 at 14:18, Kreationsbyrån wrote:
|
When using Multilingual together with UserDefinedForm module this error occurs when trying to opening the UserDefinedForm in the CMS:
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?
The text was updated successfully, but these errors were encountered: