{"action":"created","issue":{"url":"https://api.github.com/repos/liip/LiipThemeBundle/issues/124","labels_url":"https://api.github.com/repos/liip/LiipThemeBundle/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/liip/LiipThemeBundle/issues/124/comments","events_url":"https://api.github.com/repos/liip/LiipThemeBundle/issues/124/events","html_url":"https://github.com/liip/LiipThemeBundle/issues/124","id":78003837,"number":124,"title":"Theme templates for core bundle are not being found","user":{"login":"vooj-tae","id":11331661,"avatar_url":"https://avatars.githubusercontent.com/u/11331661?v=3","gravatar_id":"","url":"https://api.github.com/users/vooj-tae","html_url":"https://github.com/vooj-tae","followers_url":"https://api.github.com/users/vooj-tae/followers","following_url":"https://api.github.com/users/vooj-tae/following{/other_user}","gists_url":"https://api.github.com/users/vooj-tae/gists{/gist_id}","starred_url":"https://api.github.com/users/vooj-tae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vooj-tae/subscriptions","organizations_url":"https://api.github.com/users/vooj-tae/orgs","repos_url":"https://api.github.com/users/vooj-tae/repos","events_url":"https://api.github.com/users/vooj-tae/events{/privacy}","received_events_url":"https://api.github.com/users/vooj-tae/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-19T09:07:48Z","updated_at":"2015-05-19T09:26:34Z","closed_at":null,"body":"Hello!\r\nI have tried everything already, but I can't seem to get this bundle to work properly. I have this config:\r\n\r\n    # app/config/config.yml\r\n\r\n    liip_theme:\r\n        themes: [\"Default\",\"Plain\"]\r\n        active_theme: \"Default\"\r\n\r\nMy 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...\r\n\r\nI 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:\r\n\r\nOverride themes directory: ```app/Resources/themes/Default/CoreBundle/Footer/footer.html.twig```\r\nOverride view directory: ```app/Resources/CoreBundle/views/Footer/footer.html.twig```\r\nBundle theme directory: ```src/Core/CoreBundle/Resources/themes/Default/Footer/footer.html.twig```\r\n\r\n...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.\r\n\r\nAm 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.\r\n\r\nThank you in advance!"},"comment":{"url":"https://api.github.com/repos/liip/LiipThemeBundle/issues/comments/103414578","html_url":"https://github.com/liip/LiipThemeBundle/issues/124#issuecomment-103414578","issue_url":"https://api.github.com/repos/liip/LiipThemeBundle/issues/124","id":103414578,"user":{"login":"oleg-andreyev","id":1244112,"avatar_url":"https://avatars.githubusercontent.com/u/1244112?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-andreyev","html_url":"https://github.com/oleg-andreyev","followers_url":"https://api.github.com/users/oleg-andreyev/followers","following_url":"https://api.github.com/users/oleg-andreyev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-andreyev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-andreyev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-andreyev/subscriptions","organizations_url":"https://api.github.com/users/oleg-andreyev/orgs","repos_url":"https://api.github.com/users/oleg-andreyev/repos","events_url":"https://api.github.com/users/oleg-andreyev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-andreyev/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T09:26:34Z","updated_at":"2015-05-19T09:26:34Z","body":"If you wanna override `vendors` template it must go either into app folder. or you should inherit bundle that you wanna override\r\n\r\n- http://symfony.com/doc/current/cookbook/bundles/inheritance.html#overriding-resources-templates-routing-etc\r\n- http://symfony.com/doc/current/book/templating.html#overriding-bundle-templates"}}