-
Notifications
You must be signed in to change notification settings - Fork 74
Description
Hello!
I have tried everything already, but I can't seem to get this bundle to work properly. I have this config:
# app/config/config.yml
liip_theme:
themes: ["Default","Plain"]
active_theme: "Default"
My application core parts are in src\Core\CoreBundle. I also have a BannerBundle in vendor directory, at for this bundle the themes work just as expected...
I am trying to override my footer template: src\Core\CoreBundle\Resources\views\Footer\footer.html.twig. I tried creating a new template in all 3 ways described in documentation:
Override themes directory: app/Resources/themes/Default/CoreBundle/Footer/footer.html.twig
Override view directory: app/Resources/CoreBundle/views/Footer/footer.html.twig
Bundle theme directory: src/Core/CoreBundle/Resources/themes/Default/Footer/footer.html.twig
...but only the second one works, which is natural Symfony behavior and does not let me create any different themes. For the BannerBundle all these 3 ways override my default template in correct order.
Am I doing something wrong? Or does the theme bundle have problems with the structure of CoreBundle? In docs you say src\BundleName\Resources directly, but I have Core directory between this... I also tried adding the CoreBundle folder inside Core folder in the themes structure, but that doesn't help either.
Thank you in advance!