Skip to content

Commit 954e908

Browse files
authored
Merge branch '6.0' into plone.app.dexterity-index
2 parents 06f71ea + 59c8c61 commit 954e908

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

docs/classic-ui/layers.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,8 @@ Then views and viewlets from your product can be enabled on the site instance us
5858
### Unconditional overrides
5959

6060
If you want to override a view or a viewlet unconditionally for all sites without the add-on product installer support, you need to use `overrides.zcml`.
61-
62-
```{todo}
63-
Explain how to use an `overrides.zcml`.
64-
65-
See https://github.com/plone/documentation/issues/1426
66-
```
61+
You can override classes and templates in this file.
62+
To do this, you put the ZCML registration in a file called `overrides.zcml` in the package root, next to the top-most `configure.zcml`.
6763

6864

6965
(classic-ui-creating-a-layer-label)=

docs/classic-ui/views.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ You need to declare the `browser` namespace in your `configure.zcml` to use `bro
173173
```
174174

175175
The view in question is registered against a {ref}`layer <classic-ui-layers-label>`.
176-
It will be available after restart, after running the {ref}`GenericSetup profile <backend-configuration-registry-generic-setup-label>`.
176+
It will be available after restart and running the {ref}`GenericSetup profile <backend-configuration-registry-generic-setup-label>`, or enabling the add-on.
177177

178178

179179
(classic-ui-page-template-label)=
@@ -432,7 +432,7 @@ Since one Zope application server can contain multiple Plone sites, layers are u
432432
A layer is in use when either:
433433

434434
- a theme which defines that layer is active, or
435-
- if a specific add-on product which defines that layer is installed.
435+
- if a specific add-on product which defines that layer is installed in the Plone site.
436436

437437
You should register your views against a certain layer in your own code.
438438

0 commit comments

Comments
 (0)