So I'm stuck... yet again coding with SMF.
I have an addition to the Forum Shop mod, that allows me to give credits to just one user. The page is structured a bit like this:
<input fields>
<submit button to index.php?action=actions;step=2>
From what I understand, this is a bit how the SMF System will run when I click Submit
1. Go to Sources, and run the function for step=2
2. Load the Template that the Source calls in step=2 (In this case, being ShopAdmin2)
What I need to do, is pass a message from when the Source runs (if everything was okay, any errors, etc.) to the Template page.
Originally, I thought maybe a $context['blah']['blahblah'] = "MESSAGE"; method would work, but the Template was not too thrilled with that.
I also can't really set $_GET or $_POST values, so those are out of the question.
So my question, is how should I pass a message from a Source to a Template?