Skip to content

Commit

Permalink
update docs (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
benwalch committed Oct 17, 2024
1 parent bce7f34 commit 9652f77
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@ $ bin/console dynamic-search:run -v
- Multi Search Channels
- Filter (Faceted Search / Aggregation)
- Create Filter Definition
- [Backend UI](docs/50_BackendUI.md)
- API


## Copyright and License
Copyright: [DACHCOM.DIGITAL](http://dachcom-digital.com)
For licensing details please visit [LICENSE.md](LICENSE.md)
Expand Down
4 changes: 4 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Upgrade Notes

# 4.0.2

* introduced backend ui event [#91](https://github.com/dachcom-digital/pimcore-dynamic-search/pull/91)

# 4.0.1

* fix resource deletion [#90](https://github.com/dachcom-digital/pimcore-dynamic-search/pull/90)
Expand Down
19 changes: 19 additions & 0 deletions docs/50_BackendUI.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Backend UI

It is possible to extend the backend user interface.
Listen to the event `dynamic_search.event.settings.postBuildLayout`:

```javascript
document.addEventListener(
'dynamic_search.event.settings.postBuildLayout',
(event) => {
const dsSettings = event.detail.subject;

dsSettings.panel.add({
'xtype': 'button',
'text': 'my button'
// ...etc
});
}
);
```

0 comments on commit 9652f77

Please sign in to comment.