I have an EE embed that processes PHP code. I would like to capture that output with a Stash variable.

I'm using a model/view approach, ie. have one template to retrieve the data and another to output the page.

I have this code working correctly in my model:

{exp:stash:set name="my_var"}


and get results as expected:


But when I use the exact same code


in my view I get the string


and not the output of the embed.

What am I missing?


1 Answer 1


I've contacted Mark Croxton, author of Stash, and he has answered this question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.