So i read in documentation (and here in github) that you planing to move from old webBundle and abandon it and move into ShopBundle. I see that in Shop there is a lot of front views done, so my questions are:
My frontend creator would like to do his job and i would like to point him to right direction and inform him whatswhat.
@Mr-Negative why don't you try using a Theme and work with your own templates?
@gabiudrescu Well it does make sense. Is this ThemeBundle used somewhere now or it is for now not fully done yet?
not that I know.
but it's pretty simple to create one - follow the docs here: http://docs.sylius.org/en/latest/bundles/SyliusThemeBundle/index.html
basically, if you create the folder structure from here (http://docs.sylius.org/en/latest/bundles/SyliusThemeBundle/your_first_theme.html#theme-structure) and import the theme via composer, you're all set for starting to work on it.
thank you very much, i will look at it :-)
@gabiudrescu are you using the theme bundle extensively? I just tried to play around with it for a while, but not having as much luck. For example, I can easily override SyliusShopBundle/views/Homepage/index.html.twig, but say I wanted to override SyliusShopBundle/views/layout.html.twig, I have no luck.
Seems like the theme bundle won't override the way {% extends ... %} works.
Edit: It seems like the theme bundle can't seem to override {% extends '@SyliusShop/layout.html.twig' %}, but it can override {% extends 'SyliusShopBundle::layout.html.twig' %} (Theme bundle can't override namespaced paths - http://symfony.com/doc/current/cookbook/templating/namespaced_paths.html)
@inssein my experience is limited with ThemeBundle, as we just started to work with it. but we plan to use it extensively in the upcoming 3 months, when we will migrate all our UIs to this.
WebBundle has been removed from the Kernel and will soon be removed from the repository.
WebBundle - and now his watch has ended.
thanks for the info @pjedrzejewski
Most helpful comment
WebBundle has been removed from the Kernel and will soon be removed from the repository.