Hi guys,
Im passing a TV into a snippet.
I want to set the value of the TV however in another snippet and then pass it into snippet 2.
The problem is that while snippet one updates the TV value in the DB, the old value is in the TV when the page loads. Its not until I refresh the page that the whole thing works...
Is there a way to update the TV that is already loaded?
Cheers,
J
Use this little gem: $modx->runSnippet
Allows you to run a snippet from a snippet!!!
Rather than manipulate TV’s and feed them in, just do it all in one snippet and output the lot.