-
Notifications
You must be signed in to change notification settings - Fork 14
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
Twital not working within blocks #74
Comments
Do you know it twital is configured at all? how are you loading Twital? |
In the Templates everywhere twital is working. I testet it with following code: |
I started using twital because of its similarities to phptal.
But it seems not to work in Blocks.
Blockcode:
The normal TWIG works, but the Twital elements (t:if, t:for) not.
I tried to implemente the template several ways but it wont work. Any ideas?
I need to render the blocks seperatly and use this code:
$tpl = $this->twig->load($tpl); $res = $tpl->renderBlock($block, array_merge($this->vars, $vars));
Any ideas whats wrong?
The text was updated successfully, but these errors were encountered: