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

learn more… | top users | synonyms

0
votes
0answers
13 views

Mustash cache issue in EE2.10

I've been working with Stash and Mustash on every single one of my EE projects. What I usually do, is caching my detail-pages to a bundle. So sorta like, for example: {exp:stash:cache ...
1
vote
2answers
32 views

Stash static cache and Freeform

I'm using Stash's static cache on a site and have wrapped my Freeform tags in {stash:nocache} but whenever I try to submit a form, I get taken to a page like /?ACT=XX with the error No input file ...
0
votes
0answers
9 views

GWCategories + Stash

I'm using GwCategories to get all subcategories from a certain parent category (in this case, main_cat_id). Within this list, I'm adding a nested list, training_list_{cat_id}. In my template, I can ...
0
votes
1answer
38 views

Stash Shortcodes - last one outputs “home”

EE 2.10.1 Stash 2.6.5 I'm trying to set up some shortcodes using Stash on a rebuild of my site where I formally was using MX Jumper to do the same thing. The code works fine except that the last ...
0
votes
0answers
24 views

Display Low Variable value using Stash and Matrix

I'm using Low Variables to set an Age Policy on a show page. I have nine different Age Policies that an editor can choose from to attach to a show. Depending on the city a show can have a different ...
0
votes
1answer
16 views

Stash list empty on refresh

Edit After some debugging, the issue seems to be around the text content of the tweet or Instagram photo. Looking in the database, if I save the caption or tweet text, the data suddenly cuts of in ...
0
votes
0answers
6 views

Using a stash variable inside a stash list

I'm using some nested parent relationships to build a stash list to display elsewhere in the page. Here's the code: {exp:stash:set name="excluded"}2452|2453{/exp:stash:set} {exp:stash:set_list ...
0
votes
2answers
47 views

How can I set up nginx to serve Stash's static cache?

Mark Croxton helpfully provided this sample .htaccess for using Stash's static cache on Apache servers. Unfortunately, I'm running this particular site on nginx, and I haven't found any good answers ...
1
vote
1answer
16 views

Stash with timestamps and custom written module

I'm having a difficult time figuring this out. There's a section in a website with events. Visitors can vote for these events, 24 hours before and after it happens. Longer before that, it has a ...
1
vote
1answer
11 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
13 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
20 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
60 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
16 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
41 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
41 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
29 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
27 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
19 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
1answer
26 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
32 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
37 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
41 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
36 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
18 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
69 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
35 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
37 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
45 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
22 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
65 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
82 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
22 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
52 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
20 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
44 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
22 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
34 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
51 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
123 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
26 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
31 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
18 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
20 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
32 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
64 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
53 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
24 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
31 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
37 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 ...