File tree Expand file tree Collapse file tree 4 files changed +13
-4
lines changed
code_samples/back_office/dashboard/article_tab/config
administration/back_office Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ services:
1010 arguments :
1111 $groupIdentifier : ' custom_group'
1212 tags :
13- - { name: ibexa.twig.component, group: 'dashboard-blocks' }
13+ - { name: ibexa.twig.component, group: 'admin-ui- dashboard-blocks' }
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ The available groups for the back office are:
1818| ` admin-ui-content-create-form-before ` | <ul ><li >` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/content/create/create.html.twig ` </li ><li > ` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/ui/on_the_fly/create_on_the_fly.html.twig ` </li ><li >` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/user/create.html.twig ` </li ></ul >|
1919| ` admin-ui-content-create-form-after ` | <ul ><li >` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/content/create/create.html.twig ` </li ><li >` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/ui/on_the_fly/create_on_the_fly.html.twig ` </li ><li > ` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/user/create.html.twig ` </li ></ul > |
2020| ` admin-ui-content-edit-form-after ` | <ul ><li > ` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/content/edit/edit.html.twig ` </li ><li > ` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/ui/on_the_fly/edit_on_the_fly.html.twig ` </li ><li > ` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/user/edit.html.twig ` </li ></ul > |
21- | ` admin-ui-content-edit-form-before ` | <ul ><li >` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/content/edit/edit.html.twig ` ` </li><li> ` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/ui/on_the_fly/edit_on_the_fly.html.twig` `</li ><li > ` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/user/edit.html.twig ` </li ></ul > |
21+ | ` admin-ui-content-edit-form-before ` | <ul ><li >` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/content/edit/edit.html.twig ` </li ><li >` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/ui/on_the_fly/edit_on_the_fly.html.twig ` </li ><li > ` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/user/edit.html.twig ` </li ></ul > |
2222| ` admin-ui-content-edit-sections ` | <ul ><li >` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/content/edit/edit.html.twig ` </li ><li >` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/ui/on_the_fly/create_on_the_fly.html.twig ` </li ><li >` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/ui/on_the_fly/edit_on_the_fly.html.twig ` </li ></ul > |
2323| ` admin-ui-content-form-create-header-actions ` | ` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/content/create/create.html.twig ` |
2424| ` admin-ui-content-form-edit-header-actions ` | ` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/content/edit/edit.html.twig ` |
@@ -48,6 +48,8 @@ The available groups for the back office are:
4848| ` admin-ui-user-menu ` | ` vendor/ibexa/admin-ui-ui/src/bundle/Resources/views/themes/admin/ui/layout.html.twig ` |
4949| ` admin-ui-user-profile-blocks ` | ` vendor/ibexa/admin-ui/src/bundle/Resources/views/themes/admin/account/profile/view.html.twig ` |
5050
51+ For more information, see [ this example using few of those components] ( components.ms#example ) .
52+
5153## Calendar
5254
5355| Group name | Template file |
Original file line number Diff line number Diff line change @@ -74,4 +74,5 @@ To create a tab group, register it as a service:
7474Tag the group with ` ibexa.twig.component ` .
7575` group ` indicates where the group is rendered.
7676
77- To learn more about this mechanism and the available groups, see [ Twig Components] ( components.md ) .
77+ To learn more about this mechanism, see [ Twig Components] ( components.md ) .
78+ And for the groups available in the back office, see [ Back office elements > Custom components] ( custom_components.md ) .
Original file line number Diff line number Diff line change @@ -64,7 +64,13 @@ You can use an unique group name when creating a Twig Component to create your o
6464| [Controller](https://github.com/ibexa/twig-components/blob/main/src/lib/Component/ControllerComponent.php) | Renders a Symfony controller |`controller` |
6565| [HTML](https://github.com/ibexa/twig-components/blob/main/src/lib/Component/HtmlComponent.php) | Renders static HTML |`html` |
6666
67- See the example below :
67+ # # Example
68+
69+ In the example below
70+
71+ - A "Hello world!" is added to the user menu.
72+ - The current user thumbnail is a random cat.
73+ - …
6874` ` ` yaml
6975ibexa_twig_components:
7076 admin-ui-user-menu:
You can’t perform that action at this time.
0 commit comments