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
Copy file name to clipboardExpand all lines: docs/backend/relations.md
+9-17Lines changed: 9 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,7 +144,7 @@ This makes it very flexible for limiting relateable items by type, path, date, a
144
144
145
145
Setting the mode of the widget to `search` makes it easier to select from the content that result form your catalog-query instead of having to navigate through your content-tree.
146
146
147
-
The problem is that in the default mode of the Related Items wisget items that are in container s are not shown unless you add thes types of contaibers to the query.
147
+
The problem is that in the default mode of the Related Items widget items that are in containers are not shown unless you add these types of containers to the query.
148
148
149
149
Therefore is is recommended to use CatalogSource only in in `search` mode.
150
150
@@ -257,7 +257,7 @@ class IHaveMinions(model.Schema):
257
257
258
258
## RelationFields through the web or in xml
259
259
260
-
It is surprisingly easy to create RelationFields through the web
260
+
It is surprisingly easy to create RelationFields through the web.
261
261
262
262
- Using the Dexterity schema editor, add a new field and select _Relation List_ or _Relation Choice_, depending on whether you want to relate to multiple items or not.
263
263
- When configuring the field you can even select the content type the relation should be limited to.
@@ -301,7 +301,7 @@ RelationList:
301
301
Support for `StaticCatalogVocabulary` in Volto is currently still missing.
302
302
```
303
303
304
-
Often the standard widget for relations is not what you want since it can be hard to navigate to the content you want to relate to.
304
+
Often the standard widget for relations is not what you want since it can be hard to navigate to the content you want to relate to and the search-mode of the default widget is not suitable for all use-cases.
305
305
306
306
If you want to use checkboxes, radiobuttons or a selection-dropdown you need to use `StaticCatalogVocabulary` instead of `CatalogSource` to specify your options.
307
307
@@ -317,10 +317,7 @@ from z3c.relationfield.schema import RelationChoice
0 commit comments