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

learn more… | top users | synonyms

1
vote
1answer
17 views

Adding quotes around a parameter causes error?

I have the following: {exp:email:contact_form charset="utf-8" form_class="customer-email-form" recipients={exp:stash:get name='recipients'} } Notice that the recipients parameter's ...
0
votes
0answers
20 views

Ajax Pagination with a Stash Embed or how to set paginate_base for a Stash Embed

i'm trying to figure out how to get paginated entries loading via AJAX inside of a stash:embed but i'm struggling to get it to work. What it's doing at the moment is loading the whole page again ...
0
votes
0answers
12 views

Stash & Low Search - Group results by releationship

I'm trying to group the results returned from Low Search using Stash. I started by creating a stash list of all the groups, I then tried to create a nested list containing the products for that group. ...
0
votes
0answers
2 views

How to save the current url across page reload with Stash?

I'm trying the following code to save the latest visited url across a page reload: TEMPLATE A: {exp:stash:set name="latest_url" scope="site" save="yes" refresh="60"} {exp:current_url:full_url} ...
2
votes
2answers
31 views

Output x twice then y, then x twice

Excuse the title, couldn't really summarise the issue succinctly... This is what I need to do... I have a load of entries from various channels (E). And a series of tweets (T) (which are stored in ...
0
votes
1answer
18 views

Setting Stash variables inside Channel entry loop - parse order problems?

I'm passing an embed variable to an email form. The email form can either send an email to one member or multiple members. If the embed variable is just one entry id, then it's an email for one ...
0
votes
0answers
12 views

How to pass Stash variable to plugin? Parse order issue?

Say I make this Stash: {exp:stash:set name="message"} Hello, world! {/exp:stash:set} How do I pass that to my plugin? This doesn't seem to work: {exp:foo message='{exp:stash:get ...
0
votes
1answer
34 views

Change in output for playa:parents inside Stash when going from PHP 5.3.x – 5.4.x

This template works fine on PHP 5.3.x: {exp:stash:set parse_tags="yes" conditionals="yes"} {stash:st_content} {exp:channel:entries channel="people" url_title="{segment_3}" ...
0
votes
0answers
15 views

Retrieving Stashing matrix fields, from a playa field held within a matrix field

I have a matrix field with a couple of columns. One of these is a playa field. From that playa field I want to some related matrix retrieve data. My set list looks like this: ...
0
votes
0answers
13 views

Stash Embeds and variable variables?

(Sorry this one's a bit long - I tried to shorten things as much as I could.) At the bottom of most entries on a site, I've got some metadata displayed - the date (which is not always {entry_date}, ...
0
votes
0answers
6 views

Playa with var_prefix no_children not working

I have some template code like this. {embed="_layouts/_main"} {exp:stash:set parse_tags="yes" parse_conditionals="yes"} {exp:channel:entries channel="blog" limit="1" dynamic="yes" status="open"} ...
1
vote
0answers
20 views

Using session_variables and conditionals with Matrix!

The Situation: I'm building a new feature for a wildlife-based charity. They want to spice up their donation form to include images of relevant animals based on how users have been browsing the site. ...
0
votes
1answer
36 views

Stash - tag pairs to set multiple variables at once - no results / no_results

This one kept me busy for a while and I although could find similar questions none of the solutions worked. Using template partials, gather the page content then send though (via embed) to a master ...
4
votes
3answers
105 views

a less expensive way of grouping entries by category

I'm trying to figure out if there's a more performant way of getting entries grouped by category. As you can see, I'm using NSM Categories module. Right now, this costing me 263 queries and 5 seconds ...
0
votes
0answers
17 views

Garbled stash:nocache output when in stash:set_list in a nested embed

I'm putting together a sort of ViewModel-ish setup and getting strange output from {stash:nocache} Here's the setup. First, the EE template: {stash:embed context="@URI" ...
0
votes
1answer
15 views

Using stash to set a variable for use across different templates

If I understand correctly then I should be able to use Stash to set a variable on Template A and then retrieve it on Template B. Template A contains {exp:stash:set name="testvar" ...
0
votes
0answers
11 views

Basing a conditional on Grid's next_row

I've got a grid field that contains a field (column) called 'flagfield'. I'm trying to find a way to have a conditional inside the main Grid loop based on the value of flagfield in the next row. ...
0
votes
0answers
7 views

Stash common field mapping is giving only one output

{!-- make a list of your channel prefixes --} {exp:stash:set_list name="channels"} {stash:channel}men_clothing{/stash:channel} {stash:channel}women_clothing{/stash:channel} ...
0
votes
0answers
12 views

Stash list to get the values from grid fields for multi dimension

Does anybody know of a solution to nested stash list? Using nested stash list i'm unable to retrive the data of the grid value.Just using stash list i'm getting the single data value. Here the ...
0
votes
0answers
40 views

AJAX Pagination with Stash

I'm trying to accomplish a "Load More" with AJAX using Stash that will keep appending 9 more entries until no more can be displayed (the load more link should also disappear after all entries have ...
2
votes
2answers
33 views

Resource Routing on mutiple URLs

Just jumping into Resource Router by Rob Sanchez and hit a wall already. I've forgone the category URL indicator as I believe it works without it. I'm attempting to achieve the following URL ...
0
votes
1answer
20 views

Stash - needs page refresh to reset

I am new to the stash plugin so i am probably doing something wrong. At the top of a layout template, i have a channel entry loop that sets a stash variable like so: {exp:stash:set ...
0
votes
0answers
18 views

Stash filter entries by categories using match / against

First of all I will collect all the website categories in a particular category group. Then, for each category group I will generate my Markup that will be fed to Jquery to generate navigational tabs. ...
0
votes
0answers
34 views

Setting a variable with stash to use as a category in entries

I have a page that sets a stash list to get all of the Page entry fields, with an additional stash list that gets products based on the same category as the currently viewed page. However, i'm ...
3
votes
1answer
35 views

Showing parents of parents of parents, using Playa to build a pedigree chart

I am afraid that this is rocketscience for me, I do not understand the principle. I must show related entrees, and their related entrees, and their etcetera. In a grid, like a pedigree chart Let me ...
0
votes
1answer
25 views

How to capture EE embed output with Stash variable?

I have an EE embed that processes PHP code. I would like to capture that output with a Stash variable. I'm using a model/view approach, ie. have one template to retrieve the data and another to ...
0
votes
0answers
9 views

Stash pagination strange rendering

I have some results fomr a Low Serch tag that I'm capturing with Stash to get the pagination to place the links somewhere on the page. However, in the {paginate} tags I'm also capturing the NEXT and ...
-1
votes
1answer
29 views

Using Stash image alone not displaying

I'm new to the EE using stash i'm getting the output for other fields only image is not displaying. I'm using the stash version 2.6.1. If any one help me to solve the issue it would be grateful!!! ...
1
vote
2answers
27 views

Call to Stash embed being evaluated inside a Switchee statement when it shouldn't be

I have a problem with a Stash embedded template being called when it's inside a switch statement (or a conditional, already tried that too) which should evaluate as false. For example: {exp:switchee ...
0
votes
1answer
13 views

Stash, Parsingorder (?) and conditionals if content exists

I am sorry to ask this, but I am stuck here. I must change (on two places) a css class if a channel entree exists. If yes, the class must be unit-70, if no, unit-90. This code below does not work, I ...
4
votes
1answer
138 views

Using stash to render custom field value rather than string literal

Use case The front page of a site has a region that should display the most recent item of featured content. Since this content can come from various channels, it needs to display custom channel ...
0
votes
1answer
29 views

Templates with playa returning blank pages

I have a fully-functioning EE site (which I didn't build) but I am migrating over to a new server, and everything is operating as it should with the exception of pages that have playa code in it. If ...
0
votes
0answers
15 views

Parse tag content as a snippet with stash

I have a Playa field and I would like the related entry url_title to be parsed as a snippet. {{url_title}} --> will open my {actual-url-title} snippet. Can I do this? Maybe with Stash? {playa_field} ...
0
votes
1answer
25 views

Stash Playa field from Matrix (context)

I'm trying to Stash and output an entry from a channel. Since I also need a dynamic=no menu on the left, I've been able to use a match of the {segment_2} against the url-title to dinamically display ...
0
votes
2answers
22 views

Stash is rewriting my variables when outputting multiple entries - how to make them distinct?

I'm using Stash for image replacement in my main column. {images} is a Matrix field. In my body field, {image-1}, {image-2}, etc. are the image placeholders. My code looks like this ({images} is a ...
0
votes
0answers
22 views

Stash list count total results

{exp:stash:list_count name="my_list"} Which currently return the absolute count. Possible make is return total results? Let say if I try to store 20 entries in the list by limit 20 in the entries ...
0
votes
1answer
33 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
36 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
32 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
18 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
41 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
22 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
35 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
33 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
58 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
9 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
40 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
48 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
70 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
38 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 ...