Skip to content
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

Template not found when not using the at sign "@namespace" #2401

Open
marcusgaius opened this issue Sep 17, 2024 · 0 comments
Open

Template not found when not using the at sign "@namespace" #2401

marcusgaius opened this issue Sep 17, 2024 · 0 comments

Comments

@marcusgaius
Copy link

Is it possible to make the namespace not require the at sign @ when templates are referenced in code?
I am getting this situation (Twig 3.12 in CraftCMS 4.12):
image

I understand it's not necessarily the concern of Symfony specific extension how other frameworks deal with their features, but it seems like this is such a small step to achieve it. If I were to modify the module handle to @shop as I did for this example, it can work fine, but I don't understand why can't it be just omitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant