I have a question regarding the functionality of lexicon tags. I just stumbled upon a case where my lexicon tags were not loading at all while using the
I have a chunk containing a register form and it’s called cached:
(Below the register snippet which is called uncached:
[[!Register?... ]] but I don’t think this matters.)
Now when viewing the form in the frontend the lexicon tags inside the form chunk like
[[%register.password]], etc. were not loading their corresponding values but were just displaying their tag names.
When I tried calling the form chunk uncached
[[!$register.form]] they loaded just fine. Why would they need to be called uncached?
A slightly different case is a lexicon tag from Commerce that I used inside the chunk for the
Login form. When I save this chunk and view the Login form in the frontend, the tag is displayed fine, but after a reload of the page it also just displays the tag name.
So it somehow needs the cache to be cleared (which happens when saving the chunk) to display, but after the initial load it’s cached again and therefore not displaying. Interestingly enough it doesn’t matter if I call the tag uncached, it still depends on the chunk. And I can’t call that uncached as it’s referenced as a property by the Login snippet
Can someone shed some light here?