-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Frontend article params #11907
Comments
In other words: backend displays both |
Why did you close this? |
Sorry, re-opened. Yes,
So it displays |
I can confirm this. Execpt for displaying custom fields, there is also a problem with saving. Now it is impossible to create a plugin that save custom fields in the parameters for front- and back-end. The only way to do it now is creating a complete new fieldset and let the plugin save data in its own database table. For the back-end you can do something like this: <fieldset name="params">
<field
name="test"
type="text"
label="Text field"
description="some text field"
/>
</fieldset> The content of this field will be save inside the Note |
As the description of the option states that it is only to display them on the admin I am going to close this as expected behaviour and as it is now two years old clearly everyone else thinks it is to be expected. |
Native Protostar template - no frontend article layout overrides:
Steps to reproduce the issue
Load form with
<fields name="attribs">
custom fields viaonContentPrepareForm
event.Edit article in frontend, no form fields are displayed
Load form with
<fields name="params">
custom fields viaonContentPrepareForm
.Edit article in frontend, form fields are displayed
Fill in fields and save article.
No data is saved.
Expected result
Custom
<fields name="attribs">
are displayed and saved in frontend - same as in backend.Actual result
Frontend does not display
<fields name="attribs">
but<fields name="params">
which are not saved.The text was updated successfully, but these errors were encountered: