New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
customize template #84
Comments
Hello Mathieu, in fact, it should work without a problem :/ I'll try to investigate it asap and give you some feedback. |
thank you very much ! |
I've just checked it and indeed there is some problem with overriding 😢 Maybe it's because plugin templates are placed in |
Could it have anything to do with Symfony's bundle naming convention? |
haha, i'd really like to help ! but i'm just a "user", and very sylius noob :) |
hi guys, any news for this issue ? |
Hello Mathieu, Unfortunately, there's a bug in Sylius due to a conflict between new Twig and Sylius' ThemeBundle conventions since 1.3.1 version. Although we are working on a solution, right now I'd suggest downgrading Sylius to 1.3.0 version if you are in a hurry. |
Hello, Any news on this ? |
This PR was merged into the 1.0-dev branch. Discussion ---------- Fixes #84 Ok, I think we've finally managed (kinda) to resolve this problem 😄 There are some problems in Sylius (or even in Symfony itself) with overwriting templates, that are not configured with a one, specific path style. It should always follow `@SyliusTestPlugin/Catalog/templateName.html.twig` convention - and as you can see, there were some other conventions used :) It would be good if someone could test these changes before merging (cc @itwhy), but I've tested all plugin templates on a fresh Sylius-Standard application and it worked 🚀 Commits ------- 15e5966 Make all plugin templates possible to overwrite
We've managed to dig into this problem and find a solution that allows us to customize templates under The new version of SyliusInvoicingPlugin has just been relased ( |
hi guys, |
Hi, i tried to customise pdf template like other bundle but nothing change : /
my path is Templates/SyliusInvoicingPlugin/Invoice/Download/ ..
edit : the path is actually : Templates/bundles/SyliusInvoicingPlugin/Invoice/Download/ ..
do you know why ?
thx you !
The text was updated successfully, but these errors were encountered: