Hi,
I’m working in a module at the moment, and I’m trying to call a Snippet and include two parameters that I want to pass.
return $modx->runSnippet('orderManagementEmail', $email, $name);
However when I try and call those two values within the snippet, they appear to be coming up empty.
I’ve tried the usual method of calling a snippet with parameters inside, [[snippetname? ¶m1=`param`]] but the module kept complaining about the use of the & symbol.
Hopefully someone can help!
Thanks
Hollie