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

learn more… | top users | synonyms

0
votes
1answer
21 views

Stash not overwriting variable - variable stays same after 2nd setting

I'm having a bit of trouble with getting Stash to change a variable. I'm using it to output a heading in search results when it's not the same as the last result. Here is my code: {!-- Set the ...
0
votes
1answer
30 views

exp_stash rows aren't being expired / deleted

I'm using stash fairly heavily in an addon and creating user scoped stash variables. All worked great but I'm finding that my exp_stash db table is growing and growing without any rows ever expiring. ...
0
votes
0answers
13 views

Stash:embed:partial within a stash:get_list

I'm using a stash:embed within a stash:get_list like this: {exp:stash:get_list name="team" process="end" parse_tags="yes"} {stash:embed:partials:team_member process="start" parse_stage="both" ...
0
votes
1answer
11 views

Template group parsing index file even when not called

I'm experiencing some strange behavior with one of my template groups. There are two templates in the group, index and award. When loading the award template I am seeing content from the index file ...
0
votes
1answer
26 views

ExpressionEngine Stash Troubles Using Logic Operators

I've been struggling with stash on this project for some reason. I have a business that has multiple locations available. The locations page is filtered by location to only show what the user selects. ...
0
votes
2answers
20 views

Upgrading Stash from 2.3.6 to 2.5.9 breaks a template

I am running ExpressionEngine 2.7.2 with Stash 2.3.6. I tried updating Stash to 2.5.9 but found one of my templates using Stash now does not obtain the stashed variables. Here is the salient portion ...
0
votes
0answers
30 views

Single template intermittently parses 1 channel entry

I'm having trouble with one particular page. This is on a system running 2.9.2 with all updated add-ons (Matrix, Structure, Stash are the main ones here). About 50% of the time, the page parsing stops ...
0
votes
0answers
24 views

Stash: setting checkboxes in Channel Form

I'm using Stash to set field values from a channel entry which later in the template we use in Channel Form. This all works fine and the fields are populated except with checkboxes and radios.I'm ...
0
votes
1answer
45 views

Stash and List Pagination - custom links?

In considering using a Stash list in order to get custom ordering of Previous/Next entries, I see that the docs provide only limited tags to use in the pagination function: {previous_page} ...
0
votes
0answers
8 views

Stash Problem setting Category IDs for later use in same template

Using Stash I am setting the values for a specific entry (from the url segment) like so: {exp:channel:entries channel="My_CHANNEL" entry_id="{segment_3}" status="open|pending" ...
0
votes
1answer
36 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
43 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
2answers
63 views

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
22 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
30 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
26 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
36 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 ...
1
vote
2answers
40 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
26 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
35 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
28 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
48 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
29 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
23 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
66 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
70 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
26 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
43 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
33 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
26 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
31 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
14 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
83 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
22 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
40 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
17 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
58 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
37 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
35 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
22 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
49 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
49 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
33 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
32 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
33 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
41 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
159 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 ...