Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

Commit 526758b

Browse files
authored
Merge pull request #3442 from rallek/patch-6
added the changes for AdminMenu
2 parents 95334c4 + cd51a59 commit 526758b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/docs/Core-2.0/Cookbook/ThemeExample.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ to `@CompanyPaulaTheme`. They are located in `theme/Company/Paula/Resources/view
6161
* Do the same in `header.html.twig` which is located in `theme/Company/Paula/Resources/views/include`
6262
* next change `{{ knp_menu_render('ZikulaBootstrapTheme:AdminMenu:menu') }}` with
6363
`{{ knp_menu_render('CompanyPaulaTheme:AdminMenu:menu') }}`
64+
* There is a file named `AdminMenu` in the `/Menu` directory. Inside this file you will find the namespace. You have to adjust
65+
this accordingly: `namespace Company\PaulaTheme\Menu;`
6466
* at the end you have to adjust the bootstrap css file. It is located inside `config/theme.yml`. Normally it looks
6567
like `bootstrapPath: themes/BootstrapTheme/Resources/public/css/cerulean.min.css`. It should get the right path:
6668
`bootstrapPath: themes/Company/PaulaTheme/Resources/public/css/cerulean.min.css`

0 commit comments

Comments
 (0)