Tagged Questions

Questions about using the Stash add-on from Mark Croxton.

learn more… | top users | synonyms

0
votes
1answer
7 views

Stash regex query

I'm using Stash to set and retrieve a list based on channel entries. I want to filter the list by a 'column' of data defined by a pipe-delimited set of values. I'm having trouble though getting the ...
0
votes
1answer
36 views

Stash forgetting value

I have a plugin which is setting the value of a stash variable based on segment URIs. on my redir/index.html template, I have {exp:hippo_functions:redir} and the contents of my function (stripped) ...
0
votes
1answer
47 views
+50

Stash - 2 lists, match/against with a tag not outputting correctly

Somehow, I'm not able to get this to work. I am populating 2 lists at the top of a template. {exp:stash:set_list name="favorites" replace="yes" parse_tags="yes"} {exp:favorites:entries} ...
1
vote
1answer
13 views

Content Elements Ordering

I can’t seem to figure out how to do this correctly. I’m using Content Elements as a field and stashing those values as you would typically do in a Stash list. However, when I call that list the ...
0
votes
1answer
23 views

Playa not rendering within a Stash List

The below code works just fine on it’s own, however as soon as I drop it into a stash list and call it later in my template no results are shown. Is this a parse issue? {exp:channel:entries ...
0
votes
1answer
17 views

Stash and ce_cache, conditional caching?

I'm trying to cache some templates using ce_cache and Stash. I can't get this to work, at the moment it's outputting nothing. My simplified 'model' code is something along the lines of: ...
0
votes
1answer
13 views

Multiple Stash Sppend Lists

I have created a module which using curl retrieves and parses data from an external source. I have adapted the code from channel:entries so it outputs the correct values. The method handles the tags ...
0
votes
1answer
14 views

Using Stash variable inside of channel entries loop

So, I have a scenario where I'm setting a Stash variable based on a query string being passed. I'm using Mo' Variables to get the $_GET values. // Query string: /?c1=74&c2=81 {exp:ifelse ...
0
votes
1answer
25 views

advantage of using Stash with LVs or Low Variables by itself

Can someone comment on if there is an advantage over Option 1 vs Option 2 or vice-versa. Option 1 - Stash with LVs {exp:stash:set name="product_description"} {if segment_3 == ...
0
votes
1answer
21 views

Stash & Switchee parse order problems

I have the following blocks of code that I can't seem to to work correctly. The list sets and populates perfectly, but the switchee statement doesn't work. I konw that it has do do with parse order ...
0
votes
1answer
33 views

Setting Stash name as {entry_id}

Having some issues here, not sure if it's even possible. Template one lists one entry. I want to set a variable and make its name the entry_id of that entry, to be used to validate on the next ...
0
votes
1answer
21 views

ExpressionEngine Stash Replacing rather than appending

I'd massively appreciate a bit of help with the Stash ExpressionEngine plugin... I think it must be quite simple but feel like I've tried everything... The {expertise} tag is an ExpressionEngine grid ...
0
votes
2answers
37 views

Using Stash within Stash to pass an entry_id for Safecracker

I'm using Stash in a few ways. First, as a layout template (.layout-account.html). Second, to get variables for testing. But I'm struggling with the final part. I have two channels - Users (via Zoo ...
0
votes
1answer
27 views

Stash cacheing a large nav

I have a site with a large megamenu which is made up of the following types of code: Setting category lists {exp:stash:set_list name="product_categories" parse_tags="yes" save="yes" ...
0
votes
0answers
18 views

Next Previous linking when entry in more than one category

Sure this has come up quite a lot but I've personally never been able to get this to work without it causing an issue somewhere else. I appreciate that the out of the box next/previous linking is okay ...
0
votes
2answers
62 views

Stash, Conditionals, and a Custom Field

New to Stash and here is what I'm trying to accomplish. But so far, no such luck. I have two templates - manage-social-media.html and .layout-account.html Manage-social-media.html Here I am ...
1
vote
2answers
67 views

Need that magic 'Stash' moment…

I was just wondering if someone could possibly push my brain into the correct queue so that I totally get the Stash module. I've read all the main articles on it and really like the sound of it but ...
0
votes
0answers
23 views

Problem trying to retrieve same stash variable multiple times in same template

I'm having an issue retrieving a specific stash variable more than twice on the same page. It appears that when I try and get it the third time, I'm seeing random content output that lives elsewhere ...
1
vote
1answer
31 views

DB error when trying to update Stash to 2.5.7

This is on an EE2.5.5 install. After uploading Stash 2.5.7 and running module updates I get the following DB error: A Database Error Occurred Error Number: 1062 Duplicate entry ...
0
votes
1answer
31 views

Problem setting a stash variable in a custom module

I'm trying to set a stash variable in a custom module I'm writing with the following code: $params = array( 'name' => 'st_test_variable', 'scope' => 'user', 'type' => 'snippet' ...
1
vote
0answers
20 views

Combining Stash lists

I'm still new to Stash and still in the process of wrapping my head around it. I'm developing a music site which will have four total channels. On the homepage, I'll have a main section with the mix ...
0
votes
1answer
22 views

Storing grid data with stash

I am using stash to store some common site data and would like to use a grid field to store one of the fields with the user having the option to input 0-4 rows. Is there a way to do this with stash? ...
0
votes
0answers
9 views

Using Stash in form to cash password redirect confirm

I would like to achieve the following: On a 'delete account' page, provide your password and confirm checkbox. Submit form redirect to segment 'confirm' button 'yes' delete account I have the ...
1
vote
1answer
79 views

Stash - merge two lists

I need to merge to loops into one stash list. The first loop is a standard channel entries loop. The second is a twitter time line, using CE ...
0
votes
1answer
20 views

Group entries which have the same custom field using Stash?

I want to display multiple lists of entries on the same page, but with entries that have the same custom filed grouped together. I'm not able to use categories to do this and wondered if it would be ...
1
vote
1answer
33 views

Stash snippet problems

Since upgrading to EE 2.9.0 and Stash 2.5.6 I am having problems with stash snippets. I am getting results such as %Y-%m-%dT%H:%i:%s%Q {exp:stash:set_value name="my_var" type="snippet" ...
0
votes
0answers
12 views

Getting nested list content with Stash

I'm using nested lists to get details about an event, the nested list being used for the images. However, the images are not displaying for some entries and I believe it has something to to with the ...
0
votes
2answers
48 views

Using a variable in a match with Stash

I'm trying to use a variable in a match for a stash get_list like so, but it doesn't appear to be working; I'm setting an initial entry_id here for a place; {exp:channel:entries channel="places" ...
0
votes
1answer
18 views

Using Stash variable as Member Categories parameter

I'm trying to retrieve a category ID to be used in the Member Categories tag pair that is used later on in my template. I know for sure that the variables is being set (I tested it outside the Member ...
1
vote
1answer
33 views

Use backspace parameter on Stash nested get_list

I'm using Stash to capture a list of articles. I'm trying to keep my viewModel separate from my view markup. For each article, I'm capturing a nested list of categories. In the view, I want to ...
1
vote
1answer
28 views

Show entries in a single category and then again in all categories except the previously excluded category

This one's got me. I'm using Stash to capture a list of entries into a set_list. I want to get this list in two different areas on the page with different categories. If I were simply trying to ...
0
votes
0answers
17 views

Render custom field data when NSM Better Meta fields are not complete, instead of default site meta

I'm using NSM Better Meta on a site. By default, if the NSM fields are not completed for an entry, it will render the default site meta. However, I would like it to fallback to come other custom ...
0
votes
0answers
46 views

Pagination with Solspace Tag and Stash

I've been following this guide https://github.com/croxton/Stash/wiki/Capturing-pagination to capture pagination and apply it to Solspace Tag logic, but for some reason I just can't get the pagination ...
0
votes
1answer
44 views

Stash - {exp:stash:is_empty} or {exp:stash:not_empty} is not working properly

I have this code. Inside the stash tag pair, there is a loop that gets a list of author_ids based on certain conditions {exp:stash:set name="author_ids" trim="yes" parse_tags="yes" parse_vars="yes"} ...
0
votes
1answer
16 views

Stash - a variable that was set is not showing the correct value

I have this code, setting some information to stash variables {exp:rest parse="inward" ...} <h2>foo_1 in exp:rest = {foo}</h2> <h2>bar_1 in exp:rest = {bar}</h2> ...
0
votes
1answer
32 views

Using Stash to set and get a list of entry Solspace Tags

I'm trying to Stash the Solspace Tags for a Channel Entry as a list and then get them on the view template. However, the view template is not displaying any tags, even though there are some assigned. ...
1
vote
2answers
31 views

Display a heading for a stash:get_list if there are more than X entries

I have a stash set list that's getting all the entries from a channel as follows; {exp:stash:set_list name="items-{segment_2}" parse_tags="yes" parse_depth="3"} {exp:tag:related_entries ...
0
votes
2answers
32 views

Using Stash to get data from 1 of 2 fields

I'm currently using a template that displays an entry that could come from one of two channels like so; {exp:channel:entries channel="channel1|channel2" status="open" limit="1" ...
0
votes
1answer
38 views

Using Stash to store a variable in the loop based on a conditional

I have this code. {exp:channel:entries author_id="{segment_3}" channel="images" disable="categories|category_fields|pagination" dynamic="no" } {if no_results} ...
2
votes
1answer
144 views

Conditional with variable gives php error

I'm using channel:categories and would like to show only child categories so I added the following conditional {if {parent_id} != 0}...{/if} but get php errors as soon as I add it to the template. I ...
0
votes
1answer
27 views

Can't output Channel Images data with Stash

I have the following template that sets values, including a set_list for a Channel Images field, but I can't get the Channel Images data to be displayed in the stash layout; ...
1
vote
1answer
52 views

Stash set variable from POST variable and use in Entries Loop

I have the following code, and the stash variable doesn't seem to parse. I believe it's an issue with parse order. Apologies, this is the first time I've used stash. I'm trying to show a multiple ...
0
votes
0answers
26 views

Issue Using Minimee & Stash static caching

I'm working on a site with EE 2.7.3, Minimee 2.1.10, and Stash 2.5.3, and Mustash 1.0.9. I have Stash static caching set up and working throughout the site. I am also using Minimee to combine and ...
1
vote
1answer
34 views

Strange STASH and Playa Behaviour :///

UPDATE Looks like it's only related to the particular product page. I can add PRODUCT A to another related page. Taking a look at that next :) # I'm not sure what's happening here. SCENARIO I ...
0
votes
1answer
38 views

Nested List Data not shown on first page load

I've got a nested set_list that adds "tags" (which are really just relationships) to a list that the frontend then loops through. It's set like this {!-- SO: Grab relevant tags --} ...
0
votes
2answers
88 views

Can retrieve stash variables inside entry tags, but not outside

I am trying to set a group of stash variables per an entry and use them in the rest of the site build but I can't 'get' the stash variables from outside the initial channel entries tag. So something ...
0
votes
0answers
42 views

PHP error when relationship parents field is empty

I have a template set up to pull in parent entries using the relationship fields, which works great, unless there is no related parent entry. If there is no related parent for the current entry, I ...
0
votes
0answers
19 views

Solspace Freeform and Stash

I'm trying to use "stashed" variable as a hidden field value in a form, but I'm getting an error message: A PHP Error was encountered Severity: Warning Message: array_key_exists(): The ...
0
votes
1answer
44 views

Using list data in a Stash Embed

I have a couple of formats that a news story can display on the site. I have each of these as a different Stash embed. They're named in this format: story-block, story-focal, story-standard. The ...
0
votes
1answer
42 views

Entry tags are lost when saving Stash set_list

I'm using the MVVC approach and all works well until I turn on fragment caching. This works, but of course does not offer any performance advantages. `{exp:stash:set_list name="tutorials" ...