You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the following file structure.
If I inside of masterTwig.twig include twig-test/A.twig.
Then, inside of A.twig, I reference B.twig with a relative path {% include "B.twig" %}.
What's expected?
This should give me the content of B.twig.
It should also looking inside of the folder twigTest, however it looks in the folder twigContainer
What do you get instead?
The error message that is thrown is:
`Unable to find template "B.twig"(looked into: twigContainer)
Additional info
Q
A
Yii version
2.0
Yii Twig version
2.4
Twig version
PHP version
8.1
Operating system
MacOS
The text was updated successfully, but these errors were encountered:
What steps will reproduce the problem?
With the following file structure.
If I inside of masterTwig.twig include twig-test/A.twig.
Then, inside of A.twig, I reference B.twig with a relative path
{% include "B.twig" %}
.What's expected?
This should give me the content of B.twig.
It should also looking inside of the folder twigTest, however it looks in the folder twigContainer
What do you get instead?
The error message that is thrown is:
`Unable to find template "B.twig"(looked into: twigContainer)
Additional info
The text was updated successfully, but these errors were encountered: