-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
Namespaced Twig paths not working #654
Comments
Here's the Symfony documentation for this syntax: http://symfony.com/doc/current/cookbook/templating/namespaced_paths.html |
Existing bundles are added automatically. E.g. for the SensioDistributionBundle one can reference templates using @Haehnchen Would |
yes, in detail |
Maybe this solves the issue for somebody else: we were able to work around the issue by auto generating a |
done |
From testing the newest release and reading the source it looks like this implements the part where one configures twig namespace aliases, not the Symfony core functionality where third party bundle namespaces are automatically configured, correct? If so, any plans to implement the latter and should I open another issue for it? |
@lstrojny what is not working on your side? bundles namespaces are in for years. did i forget a use case? :) |
@Haehnchen let's say I have a bundle called
After updating the Symfony2 plugin to the latest version, for me this doesn’t work. Do I overlook something? |
Is this issue fixed? I'm still having OPs same problem. Any namespaced path defined in |
Firstly, let me say that this plugin is the very best in terms of Symfony 2 integration and I really enjoy it working with it. Keep up the good work!
There is a small issue with the Twig templates when they are referenced as with their namespaced paths:
in config.yml
in the controllers:
or in the templates:
This plugin doesn't recognise the shortcut. Is it a bug or it is not technically possible to parse the configuration to reference the namespace paths?
The text was updated successfully, but these errors were encountered: