Get template's assigns in drop's methods #808
Unanswered
soppiyaCMS
asked this question in
Q&A
Replies: 1 comment
-
You may want to register your own assign and keep track of its calls. You can duplicate the implementation from this repo. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, i am looking for a way to get the variables assigned in a template inside the drop methods that are invoked from the template.
Like:
{% assign foo = 'bar' %}
{% assign collection = collections['key'] %}
I need to access the foo inside the liquidMethodMissing() of collections drop.
Is there a way to do that? Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions