Skip to content

IBX-7565: Custom block's UDW config (4.x) #2331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 3, 2024
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Marek Nocoń <mnocon@users.noreply.github.com>
  • Loading branch information
adriendupuis and mnocon authored Apr 3, 2024
commit 1be01ab6e65164e990f06e04251fb43d0f21bd0a
2 changes: 1 addition & 1 deletion docs/content_management/pages/create_custom_page_block.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Place the edit template in `templates/themes/<your_theme>/blocks/event/config.ht
```

This example template overrides the `embed` attribute widget to customize the Universal Discovery Widget (UDW).
It adds itself to the `form_templates` and define a `block_configuration_attribute_embed_widget` block.
It adds itself to the `form_templates` and defines a `block_configuration_attribute_embed_widget` block.
The following UDW configuration is used so only an `event` typed content item can be selected:

``` yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/content_management/pages/page_block_attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ attributes:
```

`embed` and `locationlist` use the Universal Discovery Widget (UDW).
When creating a block, the UDW can be configured for an attribute of this type.
When creating a block with these two types you can configure the UDW behavior.
For more information, see [Create custom page block / Add edit template](create_custom_page_block.md#add-edit-template)

## Custom attribute types
Expand Down