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

learn more… | top users | synonyms

0
votes
3answers
17 views

Trying and failing to use stash value as channel entries category parameter

So, apologies I know this has been covered extensively BUT I've been pulling my hair out all day and still don't get why I can't get this to work. I simply want to use a stash variable set in one ...
0
votes
1answer
33 views

Playa: Complex, nested and filtered

EE 2.10.1 Playa 4.5.2 Stash 2.6.7 I'm building out a particularly complex single entry page and can't seem to wrap my head around how to approach what needs to be done. I have a Trips channel with ...
0
votes
1answer
30 views

Why is keeping URLs clean so messy?

I am using EE2.9.2 with Stash and CE Cache. While trying to create a clean URL structure, ie. raising the appropriate 404s where necessary, I ran into challenges I'm struggling to solve. I have a ...
1
vote
1answer
33 views

parse=“inward” question

I have the following tag that creates a simple search form: {exp:search:simple_form channel="{exp:stash:get name='listing_channel'}" result_page="blog/search" no_result_page="blog/search" ...
0
votes
0answers
12 views

Stash and Channel Images with embed not working

I've seen a few similar questions on here but none that have been able to help me fix my problem. I'm trying to set a list of page images with stash and the channel images add-on. I'm trying to use a ...
0
votes
2answers
30 views

Cannot make stash:get to show up inside exp:channel tag

Problem: A value set is not parsed inside a channel:entries tag. The value is actually set (and parsed with the embed on the page). Also, when I hard-code the value in te channel:entries tag the ...
0
votes
0answers
10 views

creating dynamic variables for multi language site

Possible URLs are http://localhost:81/ee_file/ar/about http://localhost:81/ee_file/en/about I have two variables namely {banner_image_text_ar} and {banner_image_text_en} based on the language ...
1
vote
0answers
21 views

Looking for a more 'elegant' way to use/output large conditional data list

So I have a system that needs to display some data depending on whether the date of an event falls within a number of preset dates. It's working great right now but there is this one part that is ...
0
votes
1answer
27 views

Stash variable in channel entries tag not working

I’m having trouble getting a stash variable to work as a parameter in a channel entries loop. I have not had this problem before so I wonder if it may have something to do with the nature of the ...
0
votes
0answers
19 views

Passing Transcribe variables to Freeform placeholder

I'm trying to pass a set a language variables into a respective set of Freeform generated inputs. The obvious way to do it would be: <div> <label ...
0
votes
0answers
12 views

Stash embed is not parsing

I'm struggling to figure out why the stash embed within my variable is not parsing. This is what I have: {exp:stash:set name="@URI:masthead" scope="site" save="no" } {stash:embed ...
0
votes
0answers
12 views

checkbox with stash

I am using the new field pack checkboxes with stash. I am having a problem setting up a conditional statement so that I can show specific items based on what checkbox is selected. For ex: I have a ...
0
votes
1answer
35 views

Need help to stop inner conditionals from parsing with with nested conditionals and stash

I'm really stuck and I know it's likely something small that I'm missing. I read the page in the wiki that relates to stash conditionals (https://gist.github.com/croxton/9d012297096892ca5c10), but I ...
0
votes
1answer
43 views

Stash Variable as channel entries search parameter

I’m stumped on something. I’m trying to (using AJAX) allow users to filter events by their location. So you can choose either Region or Country from selects that are populated with the addon REEgion ...
0
votes
1answer
34 views

Stash variable as a parameter

Is it possible to use a stash variable as a parameter further down the template. {exp:stash:set name="logged_in_user"}{screen_name}{/exp:stash:set} {exp:freeform:entries form_id="0" site_id="0" ...
1
vote
0answers
18 views

List entries grouped by field value and category

I have a channel (products) where each entry has only one category. Each entry also has a custom field (year) which stores a year value (e.g. 2015). The output I currently have looks like this (note ...
0
votes
0answers
21 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
51 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
2answers
23 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
41 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
28 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
26 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
12 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
102 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
23 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
17 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
30 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
68 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
21 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
49 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
60 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
37 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
35 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
24 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
33 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
38 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
48 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"> ...
1
vote
1answer
69 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
45 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
20 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
113 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
37 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
41 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
57 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
35 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
71 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
125 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
1answer
59 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
27 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: ...