Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/content_management/field_types/form_and_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,12 @@ you need to define a template containing a block for the field.

By convention, your block must be named `<fieldTypeIdentifier>_field`.


!!! tip

Template blocks for built-in field types are available in [`Core/Resources/views/content_fields.html.twig`](https://github.com/ibexa/core/blob/main/src/bundle/Core/Resources/views/content_fields.html.twig).

This template is also exposed as a part of Standard Design, so you can override it with the [design engine](design_engine.md).
To do so, place the template `themes/standard/content_fields.html.twig` in your `Resources/views` (assuming `ibexa_standard_design.override_kernel_templates` is set to true).
To do so, create the template `templates/themes/standard/content_fields.html.twig` (assuming `ibexa_standard_design.override_kernel_templates` is set to true).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might not work properly as in field_templates some higher priority templates extend @IbexaCore/content_fields.html.twig overriding everything with the old default blocks.


### Template variables

Expand Down
Loading