I want to update a variable based on my module. I can pass the variable from the main template (say A) to the embedded one(say B). But how can I retrieve this variable back in Template A after updating the variable from B.
Or is there any other way to use a variable in a template and gets updated from a module and the updated variable to be used in the proceeding exp: calls to the module?
When I try to update the variable, I always get the first assigned value.I think the issue is with the parse order.
If anyone knows, please help how to handle this requirement.
Thanks