Skip to content

Commit

Permalink
Merge branch '6.0' into meta
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy authored Jan 10, 2025
2 parents 969c2e2 + d107233 commit 7181d9c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conceptual-guides/distributions.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Examples of third-party Plone distributions include:

- [SENAITE](https://www.senaite.com)
- [Quaive](https://quaive.com/)
- [Portal Modelo](https://www.interlegis.leg.br/produtos-servicos/portal-modelo/)
- [Portal Modelo](https://www12.senado.leg.br/interlegis/produtos/portal-modelo)
- [Portal Padrão](https://identidade-digital-de-governo-plone.readthedocs.io/en/latest/)


Expand Down
24 changes: 24 additions & 0 deletions docs/developer-guide/create-a-distribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,30 @@ You may have noticed the entries for both `default_language` and `portal_timezon
`plone.distribution` adds both definitions at runtime, providing a list of languages and timezones available on the installation.
````

If you want to hide fields in the form, you can use the `uischema`.
This is especially useful for fields that must be in the schema, but for which you always want the default value.
The next lines hide three fields:

```json
{
"schema": {
"…": ""
},
"uischema": {
"description": {
"ui:widget": "hidden"
},
"default_language": {
"ui:widget": "hidden"
},
"portal_timezone": {
"ui:widget": "hidden"
}
}
}
```


## Add a dependency on an add-on

If you want to add a Plone backend add-on to your Plone distribution, then you must perform the following steps.
Expand Down

0 comments on commit 7181d9c

Please sign in to comment.