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
Distribution: add example for hiding fields from the form. (#1833)
* Distribution: add example for hiding fields from the form.
I am making a distribution for a client.
* I don't want to show the description field because it should remain empty (at least that is how it is on their current Plone 4 site).
* I don't want to show the default_language field, because I am setting this (and four available languages) in the Generic Setup profile.
* Same for the portal_timezone: it is a site for Belgium, so I am setting Europe/Brussels in the Generic Setup profile, so this timezone is always set, even when a colleague in Portugal creates a site on his laptop.
Unfortunately currently these fields have to be in the schema, as documented, otherwise you get an error.
So instead I found out how to hide these fields.
* make json snippet valid
Co-authored-by: Steve Piercy <[email protected]>
* indentation
---------
Co-authored-by: Steve Piercy <[email protected]>
0 commit comments