Hi!
I have a question about the scope of variables.
For example, I create a Slot element, and create a variable in it... and in this slot I have a certain page element, to which I would like to dynamically pass this variable, so that having the same design of the slot content on different pages to enter dynamic data from this variable... But only the variable created on the Slot element - inside the slot is not visible....
The same problem with the structure given in your videos, there is a body, the wrapper element inside the body, on which I create variables requesting resources from my headless cms, and inside the wrapper everything is ok I can use these resources in different elements of the site. But as soon as I need to use this data to fill Title and Description - in page settings - there is a problem, the resources of wrapper are not visible there, and I need to recreate all resources to body if I want them to be available in Title and Description.
And in the same Global Root there are no variable data at all, although the tokens for my cms and some other data would be convenient to keep in the global scope of the site, rather than create a new one on each page.
What is the logic here?
Add a reply
Sign up and join the conversation on Discord