douhao1956 2016-03-14 14:12
浏览 90
已采纳

Sylius:改变Sylius前端的设计

I am new to Symfony as well as Sylius. Can anyone guide me how can I change design of Sylius front end. I want to use the Kuteshop template in it?

I want to change the front end UI of the Sylius project.

What I did is: I copied my css, js, images etc files in web directory in a separate folder with name template (template/asstes/css/, template/assets/js/ and so on). Then I created a folder app/resources/SyliusWebBundle/Views/frontend/Homepage and also I created a file app/resources/SyliusWebBundle/Views/frontend/layout.html.twig. I defined the assets and other components but no result.

My template assets was not showing up, also I was not getting any information in it.

Does it help to get some solution to me?

Thanks so much.

  • 写回答

1条回答 默认 最新

  • doukuiqian5345 2016-03-17 15:38
    关注

    The path must be app/Resources/SyliusWebBundle/views/Frontend/Homepage

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?