Skip to content

Commit

Permalink
Merge pull request #3442 from rallek/patch-6
Browse files Browse the repository at this point in the history
added the changes for AdminMenu
  • Loading branch information
craigh authored Feb 9, 2017
2 parents 95334c4 + cd51a59 commit 526758b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/docs/Core-2.0/Cookbook/ThemeExample.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ to `@CompanyPaulaTheme`. They are located in `theme/Company/Paula/Resources/view
* Do the same in `header.html.twig` which is located in `theme/Company/Paula/Resources/views/include`
* next change `{{ knp_menu_render('ZikulaBootstrapTheme:AdminMenu:menu') }}` with
`{{ knp_menu_render('CompanyPaulaTheme:AdminMenu:menu') }}`
* There is a file named `AdminMenu` in the `/Menu` directory. Inside this file you will find the namespace. You have to adjust
this accordingly: `namespace Company\PaulaTheme\Menu;`
* at the end you have to adjust the bootstrap css file. It is located inside `config/theme.yml`. Normally it looks
like `bootstrapPath: themes/BootstrapTheme/Resources/public/css/cerulean.min.css`. It should get the right path:
`bootstrapPath: themes/Company/PaulaTheme/Resources/public/css/cerulean.min.css`
Expand Down

0 comments on commit 526758b

Please sign in to comment.