So I have a channel called Campaign, which has a number of ordinary text Input fields like 'campaign_twitter' and 'campaign_twitterhashtag'. It also has a Solspace Tag field called 'campaign_tag'.

This Channel helps to create a Campaign page, so that when you add a Solspace Tag, the page will then pulll in related content from the rest of the site, based on that Tag. What i'm having trouble with is getting that related content to display correctly. It is currently just displaying the custom field names on the page, so I'm assuming it's something to do with parse order or not setting up the stash correctly.

I was wondering if someone might be able to assist to get things displaying correctly?

So this is the list where I am setting all of the variables - Text Inputs and Solspace Tag;

{exp:stash:set_list name="campaign-vars" parse_tags="yes"}

        {stash:tag}{exp:tag:tags entry_id="{entry_id}" limit="1" websafe_separator="-"}{tag}{/exp:tag:tags}{/stash:tag}

                tag="{tag}" {!-- This should be the tag retrived from {stash:tag} --}


This is where i'm displaying content in the page, notice the loop for the blog entries. Where the {blog_title} should be, it's showing the title of the current page and all other tags are just displaying the actual tag, with the exception of {twitter} tag, which is displaying correctly.

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

    {exp:stash:get_list name="campaign-vars"}

        {!-- Loop through blog entries here --}

        {!-- Display Twitter handle --}
        <p>Follow us on twitter: {twitter}</p>



1 Answer 1


When you set your list you have two layers of nested tags to parse, so use parse_depth="2" to tell Stash to parse both layers. You are also trying to capture a nested list 'blog_entries', but are not using a supported syntax. Please see the docs for an example of setting / getting nested lists.


(Sorry can't link to exact line in docs because I'm typing this on my phone - see the set_list section)


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.