Sylius: Moving on from WebBundle - what's the status etc.

Created on 18 Jul 2016  Â·  8Comments  Â·  Source: Sylius/Sylius

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:

  • am I wrong?
  • Is it planned for current milestone (or any ETA)?
  • What is not done yet /what feature is it waiting on to moving ?

My frontend creator would like to do his job and i would like to point him to right direction and inform him whatswhat.

Most helpful comment

WebBundle has been removed from the Kernel and will soon be removed from the repository.

All 8 comments

@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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

inssein picture inssein  Â·  3Comments

ping86 picture ping86  Â·  3Comments

eb22fbb4 picture eb22fbb4  Â·  3Comments

javiereguiluz picture javiereguiluz  Â·  3Comments

mikemix picture mikemix  Â·  3Comments