-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
How to access the entry
variable in a _vizy template?
#285
Comments
entry
variable in a _vizy template?entry
variable in a _vizy template?
I suppose the tricky thing here is that Vizy fields aren't always on an entry, they can be attached to any element. You should be able to access the greater Twig scope with |
Thanks for your fast reply! The |
Question
Sometimes we need to access the global
entry
variable in a_vizy/*.twig
template. We havent found a solution for this in the documentation or existing issues.How do we access the variable? Is there a proper way to do this? Currently we fetch the entry again based on the given request uri, but this seems to be a bit inefficient.
Thank you!
Additional context
No response
The text was updated successfully, but these errors were encountered: