Skip to content

Commit fcab33b

Browse files
committed
Use definition lists instead of glossaries
1 parent 76f1dda commit fcab33b

File tree

1 file changed

+55
-61
lines changed

1 file changed

+55
-61
lines changed

docs/backend/content-types/index.md

Lines changed: 55 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -150,89 +150,83 @@ Set the `i18n:domain` to the i18n domain which includes translations for this co
150150

151151
The XML sets a number of FTI properties:
152152

153-
```{glossary}
154-
:sorted: true
153+
`action` elements
154+
: Defines additional {doc}`actions <portal-actions>` which are available for this content type.
155+
156+
`add_permission`
157+
: Id of the permission controlling whether the current user has permission to add this content type.
155158

156-
title
157-
The name of the content type displayed in the UI.
159+
`allow_discussion`
160+
: Boolean. Controls whether Plone's commenting system is enabled for this content type.
161+
162+
`allowed_content_types`
163+
: List of content types which can be added inside this one.
164+
Only used if `filter_content_types` is True.
158165

159-
description
160-
Short description displayed in the UI.
166+
`behaviors`
167+
: List of {doc}`behaviors <behaviors>` enabled for this content type.
161168

162-
factory
163-
Name of the factory adapter used to create new instances of the content type.
169+
`description`
170+
: Short description displayed in the UI.
171+
172+
`factory`
173+
: Name of the factory adapter used to create new instances of the content type.
164174
Usually the same as the content type name.
165175

166-
add_permission
167-
Id of the permission controlling whether the current user has permission to add this content type.
176+
`filter_content_types`
177+
: Boolean. Controls which content types can be added inside this one.
178+
If `True`, allow only the types listed in `allowed_content_types`.
179+
If `False`, allow any content type that the user has permission to add.
168180

169-
klass
170-
Dotted path to the Python class for this content type.
181+
`global_allow`
182+
: Boolean.
183+
Set to `True` to allow adding the content type anywhere in the site where the user has permission.
184+
Set to `False` to only allow adding it inside other content types that include this one in `allowed_content_types`.
171185

172-
schema
173-
Dotted path to the schema for this content type.
186+
`klass`
187+
: Dotted path to the Python class for this content type.
174188

175-
model_file
176-
Location of an XML file to load as the content type's schema.
189+
`model_file`
190+
: Location of an XML file to load as the content type's schema.
177191
This is an alternative to `schema` and `model_source`.
178192

179-
model_source
180-
Inline XML schema for the content type.
193+
`model_source`
194+
: Inline XML schema for the content type.
181195
This is an alternative to `schema` and `model_file`.
182196

183-
behaviors
184-
List of {doc}`behaviors <behaviors>` enabled for this content type.
197+
`schema`
198+
: Dotted path to the schema for this content type.
185199

186-
global_allow
187-
Boolean.
188-
Set to `True` to allow adding the content type anywhere in the site where the user has permission.
189-
Set to `False` to only allow adding it inside other content types that include this one in `allowed_content_types`.
190-
191-
filter_content_types
192-
Boolean. Controls which content types can be added inside this one.
193-
If `True`, allow only the types listed in `allowed_content_types`.
194-
If `False`, allow any content type that the user has permission to add.
200+
`title`
201+
: The name of the content type displayed in the UI.
195202

196-
allowed_content_types
197-
List of content types which can be added inside this one.
198-
Only used if `filter_content_types` is True.
199203

200-
allow_discussion
201-
Boolean. Controls whether Plone's commenting system is enabled for this content type.
204+
The following FTI properties are only used in the Classic UI:
202205

203-
`action` elements
204-
Defines additional {doc}`actions <portal-actions>` which are available for this content type.
205-
```
206+
`add_view_expr`
207+
: TALES expression returning the URL for the form to add a new item of this content type.
206208

207-
The following FTI properties are only used in the Classic UI:
209+
`alias` elements
210+
: Controls a mapping from URL to views.
211+
It's not common to change this.
208212

209-
```{glossary}
210-
:sorted: true
211-
icon_expr
212-
TALES expression returning the name of one of the registered icons.
213-
See {doc}`icons`.
213+
`default_view`
214+
: Name of the default view used to display this content type.
214215

215-
link_target
216-
```{todo} add definition of `link_target`.
216+
`default_view_fallback`
217+
: ```{todo} add definition of `default_view_fallback `.
217218
```
218219

219-
add_view_expr
220-
TALES expression returning the URL for the form to add a new item of this content type.
220+
`icon_expr`
221+
: TALES expression returning the name of one of the registered icons.
222+
See {doc}`icons`.
221223

222-
default_view
223-
Name of the default view used to display this content type.
224+
`immediate_view`
225+
: Name of the view alias to display after a new item is added.
224226

225-
default_view_fallback
226-
```{todo} add definition of `default_view_fallback `.
227+
`link_target`
228+
: ```{todo} add definition of `link_target`.
227229
```
228230

229-
immediate_view
230-
Name of the view alias to display after a new item is added.
231-
232-
view_methods
233-
List of views which can be selected to display this content type.
234-
235-
`alias` elements
236-
Controls a mapping from URL to views.
237-
It's not common to change this.
238-
```
231+
`view_methods`
232+
: List of views which can be selected to display this content type.

0 commit comments

Comments
 (0)