in the examples of Stash and every other similar plugin I always see the variables being set inside the channel:entries tag. But what if I need to set a tag inside the tag of another module? Like for example Solspace's Rating module? Have a look at the code below:
Here I'm trying to set a Stash variable...
{exp:rating:stats}
{exp:stash:set name="rating"}{overall_rating}{/exp:stash:set}
{/exp:rating:stats}
Here I attempting to output it...
{exp:stash:get name="rating"}
But this isn't working with Stash or the String plugin which I also tried.
It seems like I can only set variables inside the channel:entries tag. Is this true? Is there no way to store variables for later use inside third party module tags such as Solspace's Ratings?