I'm using Stash 3.0.3 (from the EE3 branch) with EE 3.4.2 and I'm having some issues getting the Stash variables to display.
I have a page setup that is using the following EE template:
{!-- Get the page layout --}
{stash:embed:layouts:range}
{!-- Get the page model --}
{stash:embed:models:range stash:url_title="{segment_1}"}
The first piece of code is correctly getting the page layout as I can see this when I go to the particular page in the browser.
However, none of the stash variables on the page are actually displaying what they're supposed to - instead they're just showing for example:
{stash:rangeTitle}
Here's the code for this in the {stash:embed:models:range stash:url_title="{segment_1}"}
template:
{exp:channel:entries channel="product_ranges" url_title="{stash:url_title}" dynamic="no" limit="1" disable="member_data|pagination" cache="yes" refresh="10080"}
{exp:stash:set name="rangeTitle"}{title}{/exp:stash:set}
{/exp:channel:entries}
And then the code in the layout {stash:embed:layouts:range}
:
{stash:rangeTitle}
I have these exact templates on an EE 2.9 site (but using the latest version of Stash for EE2) and they work perfectly. But I can't seem to get this working on EE3.
I have also tried simply replacing the url_title to the actual page url title to discount this and the variables still didn't display properly.
I was wondering if anyone else has had such an issue?