-
-
Notifications
You must be signed in to change notification settings - Fork 111
BC {snippetArea} #240
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
Comments
I'm joining @matej21 here. |
What is snippetArea without parameters used for? |
@dg We used it to solve Of course we can use More detailed example - not particularly elegant, but it worked for the desired result (redrawing individual controls in AJAX calls). If there is a better solution (which would cover all our needs), we haven't found it yet. _blocks.latte
edit.latte
|
fixed |
@dg i think, you won't get any runtime error, so it might be harder to understand why it doesn't work. |
I don't understand snippets at all (No longer) :-) So have I remove (#134 (comment)) or keep the check? |
@dg imho the check is not needed anymore for dynamic snippets to work, but it might be a useful hint for developer. The runtime check/hint could be implemented in snippet driver when renderingSnippets is false |
Like this? 664a0f2 |
@dg sth like this matej21@1d2796b |
Thanks |
Version: 2.9.0
Bug Description
{snippetArea}
without arguments now throws exceptionMissing arguments in {snippetArea} in file.latte:10
Steps To Reproduce
Compile latte template with following:
Possible Solution
latte/src/Latte/Macros/BlockMacros.php
Line 462 in c89c46a
Change to:
The text was updated successfully, but these errors were encountered: