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

learn more… | top users | synonyms

1
vote
1answer
7 views

Using Stash to limit repeating events output by Solspace Calendar

While using Solspace Calendar I'm trying to limit recurrent events to only the next occurrence. I found a great tip on how to do it with PHP here: Solspace Calendar: Only show next occurrence of ...
0
votes
0answers
12 views

Stash and date plugin

My code as below I trying to make a list of date first then loop thru the date list to get the entries related to the date. But I had trouble on parsing at the context="{date_string}". It show random ...
1
vote
1answer
18 views

Orderby title and organize by another custom field

I have a low search filter set up which works great however the client now wants to separate the results by country of origin. This should be possible as the country is set by another custom field. ...
1
vote
1answer
56 views

getting the Matrix rows of a Playa entry

I have the following Stash variable list to get the related author of an article {exp:stash:set_list name="my_list" parse_tags="yes" parse_depth="2"} {exp:playa:children var_prefix="children" ...
0
votes
1answer
10 views

Stash List Passed to Embed - Adding Blank Items

Wondering if this is a bug or a parse order issue (probably parse_order). Code is below, but basically i am trying to work with template partials approach and showing related videos for an article ...
1
vote
1answer
38 views

Rendering entry titles in dropdown using Stash

I'm trying to render a list of entry titles into a drop menu using Stash. However, I get no results. I modeled my solution using another thread here, but no go. Any help will be appreciated. ...
0
votes
1answer
31 views

Freeform Pro issue with Stash and CE Cache

I have an event template that pulls in a Freeform Pro field, via the Freeform Pro fieldtype, which relates a form to an entry. I'm having problems with a reoccurring error that says "Invalid form ...
1
vote
0answers
27 views

using Stash to output a language variable with Transcribe

In my article template I'm doing this: {exp:stash:set name="article_lang" parse_vars="yes" parse_depth="2" parse_tags="yes" parse_conditionals="yes"} {exp:switchee ...
0
votes
1answer
24 views

Stash memory issue

So, I'm having a multilanguage one-pager website. I'm opening with {exp:stash:cache bundle="onepager_{segment_1}"} so I can have a bundle for each onepager language. On localhost, every language (in ...
1
vote
1answer
18 views

Something wrong in Stash usage and cannot figure out what

I have this code {exp:channel:entries channel="katalog" limit="12" dynamic="yes" status="open" show_future_entries="no" orderby="date" sort="desc" disable="member_data" pagination="bottom"} {!-- ...
0
votes
0answers
13 views

Mustash Cache breaking rules

When I try saving Cache breaking rules with Mustash, I get this error: Error Number: 1366 Incorrect integer value: 'NULL' for column 'group_id' at row 1 INSERT INTO `exp_stash_rules` (`plugin`, ...
0
votes
0answers
29 views

How to use Stash to avoid embedded templates

I'm excited about being able to use Stash to avoid having to use series of embedded templates, but can't figure out how to make it work. The code below generates the variable 'course' and uses it in ...
0
votes
1answer
32 views

Low Variables parsing grid

I'm using Low Variables. This specific variable is of the type 'Grid'. What I'm having in my template is this: <select name="country" id="country" class="form-control"> ...
0
votes
1answer
22 views

check if a segment is a number

I am trying to figure out a way to set to variable values depending on if a specific segment is a number or not. First how to I check if the segment 2 is a number or not? I want to apply this type ...
0
votes
1answer
24 views

Paginate two stash lists in one

Following on from here: Output x twice then y, then x twice I have two lists. (E) is full of entries from multiple channels. (T) is a collection of tweets from another channel. On each page there ...
0
votes
0answers
17 views

WB Category Select - conditional if empty?

Seemingly, when using WB Category Select, I can't seem to detect if no categories are selected. Here's what I've tried. {if departments_feed} {!-- this is the field name with the WB category select ...
0
votes
1answer
50 views

Set Stash variable in Channel entry loop, then use in email contact form? Parse order issues?

The following is part of an embedded template, which is passed {embed:advertisers_entry_id} that contains a string like 34|68|124|: {!-- Set defaults --} {exp:stash:recipients}{/exp:stash:recipients} ...
1
vote
1answer
32 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
30 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
2answers
38 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. ...
1
vote
1answer
18 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
63 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
61 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
21 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
50 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
19 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
34 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
16 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
32 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
45 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
121 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
1answer
22 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
25 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
16 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
16 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
23 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
59 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
47 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
23 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
29 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
36 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
2answers
42 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
35 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
12 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
34 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
30 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
16 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
155 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
34 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
18 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} ...