Questions tagged [stash]

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

Filter by
Sorted by
Tagged with
0 votes
2 answers
51 views

Possible to 'build' a field tag with a var?

is there a way - possibly with php - to 'build' a field tag from a 'variable'? i currently have this: {exp:stash:get_list name="rf_columns" prefix="rf"}{!-- --}{if rf:col_value ...
  • 101
0 votes
0 answers
13 views

Parse error when outputting stash with conditional inside php

I’m trying to output stuff collected and "washed" with stash with PHP in order to open and write to a file that then gets used as a json file.. pretty much. The output works, but as soon as ...
0 votes
0 answers
22 views

How to use stash to Preload replace?

I am trying to get the current entry's related entries by using stash main article full view: {exp:channel:entries channel="blog" dynamic="yes"} {exp:stash:get name="...
0 votes
1 answer
23 views

CE Cache and url_override value - possible to use/get a dynamic URL with Stash?

I have a situation where we need to cache a page unique to a location ID that is set to the member. This is a product listing page where there is an inventory lookup done based on the user's chosen ...
1 vote
2 answers
38 views

Force Stash to output https

I've inherited an old EE site. I'm trying to get everything running on https. I can get EE to serve up most images via https but it seems like when stash is used, it doesn't use https. Is there a ...
0 votes
0 answers
46 views

Conditional for stash variable produces 'Something has gone wrong and this URL cannot be processed at this time' error

I have the following in a globally-included template: {if segment_3_category_id} {exp:switchee variable="{segment_3}" parse="inward"} {case value="page-to-match"} {exp:stash:set_value ...
  • 2,048
0 votes
1 answer
40 views

How to stop refreshing stashed append across page loads?

I'm trying a different approach to random ordering and pagination, as this approach seems doomed: (Paginating a random ordered list of tag:related_entries) I'm setting the list of IDs in order and ...
0 votes
0 answers
24 views

Paginating a random ordered list of tag:related_entries

I'd like to display a list of entries using the Tag module: {exp:stash:parse} {exp:tag:related_entries channel="my_channel" disable="category_fields|member_data|...
0 votes
1 answer
28 views

How can I use stash->parse in my extension

I'm writing an addon which can take an EE template, replace some variables and then crucially parse the EE tags in it and then email it. I was hoping stash:parse might come to my rescue after a day ...
0 votes
2 answers
68 views

Fetch entries grouped on custom field value, randomised within each group

Using EE v2.8.1 I need to display a list of entries, split into 4 groups, the entries should be randomised within each group (entries are grouped on a custom field value, which can be between 1 and 4)...
0 votes
0 answers
20 views

Using Stash variable in the User tags

I'm trying to display a list of Users based upon the value of a custom field that I am storing dynamicly in a Stash variable. Basicly, if the Logged in Users Company ID is 1, I want to show a list ...
  • 100
0 votes
1 answer
41 views

Get average rating from a Super Search results set

I have a series of super search results listing pages displaying lists that are all rated with the Ratings module. I want to get the average rating of all the entries in the list to put into schema ...
  • 2,048
0 votes
1 answer
36 views

Stash id for use in category filtering - help with parse order

I'd like to use a stash'd variable to filter a list of categories, but the following is not working: {if segment_2=="thing1"} {exp:stash:set name="cat_id"}22{/exp:stash:set} {if:elseif segment_2==...
1 vote
1 answer
40 views

Stash segment for use on other page

I want to save segment_3 for use on another page for each user, I think the following should work: {exp:stash:set name="selected_category_url" scope="user" save="yes"} {exp:streeng slug="yes" ...
1 vote
1 answer
23 views

Stop stash embed caching file

I'm using stash embed, everything inside the embed gets cached, is there any way for this not to happen? It's a major pain when changing what's in the embed template and not seeing the change happen. ...
1 vote
1 answer
36 views

Can't get custom 404 page to come up

We have a custom 404 page set up in our EE 4.3.8 to handle non-existing url requests. I can't get it to work though, the home page always comes up instead. I know this may have something to do with ...
  • 11
0 votes
1 answer
82 views

What's the best way to search for specific terms in files?

I have a situation where the client will be uploading a ton of pdf files, and then on the front-end we need a tool to search for key-terms within these files. Sometimes that key-term is in the file ...
1 vote
0 answers
27 views

Substituting EE4 layout tag append, with Stash

DRY: Template Layouts is nice because of the single layout tag. {layout:set:append name='url'}{path='page1'}{/layout:set:append} {layout:set:append name='url'}{path='page1/page2'}{/layout:set:append} ...
  • 885
0 votes
1 answer
28 views

Doubt about a Stash Embed parameter : name"my_var1"

I have a doubt about a Stash Embed parameter. In the Stash documentation page, there is this example: {stash:embed name"my_var1" file_name="foo:bar" stash:my_var="value 1"} {stash:embed name"my_var2" ...
  • 885
1 vote
1 answer
29 views

Member Categories Check and "Stashing" the Results for Later

I’ve got a page where I’m posting links to the groups that a user has access to based on Member Categories. Before, I just used the {exp:member_categories:categories} loop and it worked fine, but ...
  • 752
1 vote
1 answer
55 views

stash parsing sequence

Reading through James Smith's stash tutorial and would like a little extra info on the following example, '{stash:title}' is getting set after the embed template is added (in the page sequence at ...
  • 321
1 vote
1 answer
38 views

PHP filtering not working consistently with stash

{exp:tag:related_entries entry_id="{embed:entry_id}" orderby="relevance" sort="desc" limit="10" {if '{embed:channel}' != ''}channel="{embed:channel}"{/if} } <?php if (!in_array('{...
0 votes
2 answers
54 views

Stash and database replication

We are running EE 2 and Stash, 2 DB's: 1 master, 1 slave. The master-slave relationship keeps breaking with the following error: CRITICAL - Slave sql is not running. Last error: Could not execute ...
0 votes
1 answer
39 views

Stash content depending on SSL / https

How can i stash content globally depending on https or http scheme? One way is to store it under a context, but then i have to change all stash set and get tags site-wide to work with a context ...
  • 2,157
0 votes
1 answer
56 views

Ce Cache clear when conditions are met

I'm trying to clear cache with ce_cache:clear and conditionals but it seems if ce_cache:clear always gets called for. Conditionals are based on cache date and edit date. So when cache date minus edit ...
1 vote
1 answer
45 views

Splitting a string into a Stash list?

For an EE3 site, I'd like to split a CSV or pipe delimited string (i.e. avi,david,sam or maybe avi|david|sam) and have each segment added to a Stash list. I've looked at BBD Stringer ($6) on Devot-ee ...
0 votes
1 answer
52 views

Stash Get List match against

I'm having trouble with a stash list that should be filtered. My list itself looks like this: {exp:stash:get_list name="stores_list" parse_tags="yes" parse_depth="3" parse="inward" match="{exp:stash:...
  • 71
0 votes
1 answer
104 views

Stash Index and Low Replace

I am trying to put a multiple choice filter into a stash index and running into some issues. From the debug output it would appear that its a parse order issue as the debug match statement shows my ...
0 votes
3 answers
122 views

Stash Entry Page Titles

I'm using stash to fuel many parts of a site I am building. I successfully have it working to print certain parts of the page title to the tag of the page, but I want to include entry titles on pages ...
  • 15
1 vote
2 answers
65 views

Stash List with Grid and Entry Title

I'm trying to display two columns of EE entries, each entry has a grid field with a text field and an Assets field. I thought I was close on this, but clearly I'm missing the boat because the grid ...
  • 15
0 votes
1 answer
56 views

{stash:embed name="test"} vs {exp:stash:embed name="test"}

I had a parsing problem with: {stash:embed name="test"} It was not parsing. Reading many posts I read about: {exp:stash:embed name="test"} And it's parsing fine. What are the difference between ...
  • 885
0 votes
1 answer
58 views

A search form for a specific url

i'm using Solspace Calendar to show events around an area on dates the user selects. I have made the results page with a combination of Calendar + Stash and it is working really fine. I get the ...
0 votes
1 answer
93 views

Custom Field searching

I have some more questions and I hope I don't waste your time .. I use EE3.4.7. and Calendar (EE3 version) .. this questions continues from here Custom field as a parameter Since custom field ...
0 votes
1 answer
39 views

Big doubts about Stash Bundle

I try to understand better Stash Bundles, so I tried to use Stash code to save a group of variables as a single variable in a defined bundle. The variables: {exp:stash:set_value name="un" bundle=...
  • 885
1 vote
1 answer
76 views

How to use Swtichee and/or Low Variables to optimise an if if:elseif if:else conditional statement

My page is loading really slow due to my inexperience. Can anyone help me speed things up by perhaps using Switchee and or Low Variables (and perhaps some Stash). I'm really just looking to be ...
0 votes
1 answer
107 views

Tracking Video Plays in Google Analytics

So I have a rescue client running EE 2.10.1 where the client has a number of videos across the site that he wants to track plays. Can anyone provide pointers on how I can achieve this? I'm not very ...
  • 4,757
1 vote
1 answer
55 views

Stash construct works in EE2 but fails in EE3... why? how to fix?

I have this code fragment that works in a template when running EE2, but fails when the same template is run under EE3. I can't work out why. Would value any guidance anyone can give about how to fix....
  • 3,587
0 votes
1 answer
59 views

Stash corrupting data in EE3

Have simple use of stash in a template. Worked fine in EE2, but with EE3 after upgrade stash is scrambling the content. Here is an example of the kind of issue. Example short-hand stash-set / stash-...
  • 3,587
0 votes
2 answers
104 views

Stash embed not working in EE3 after update

Have edited this question in light of further information subsequent to the initial question being posted... Have Stash 3.0.4 running on EE 3.4.6. Have migrated an EE2 site that is working fine, to ...
  • 3,587
0 votes
1 answer
60 views

How do I generate a complete list of all "search-words" for a given Low Search query?

I know this is risky to make such a statement, but I am really afraid something is wrong and I do not know how to solve it. I did rebuild the tables from the CP. Module: LOW search, system: EE ...
  • 376
1 vote
3 answers
163 views

Setting a Stash variable within an old style EE conditional

I'm working on an old EE site (v2.5.2) which for reasons I won't go into I cannot update to a newer version. I am trying to set a Stash variable based on whether or not a condition evaluates to true. ...
  • 7,176
1 vote
1 answer
90 views

Stash and Multiple Grid Fields Not Populating

Running into strange issue getting content into a Stash list from two grid field. A stripped down version of my code is below. The two grid fields are {meeting_people} and {meeting_faculty}. In the ...
0 votes
1 answer
58 views

Using a conditional within {exp:stash:set_list}... how?

I am sure there is an easy fix for this: just I'm unable to find it... I have this simple code structure that puts values from a Low_Reorder set into a stash list. It works just fine. {exp:stash:...
  • 3,587
1 vote
1 answer
27 views

Embed parameter value as stash value

How can I use a stash variable that has been stored up in the template as a value for an embed parameter further down? {embed="template/_include" email="{exp:stash:get name="email"}"} Obviously at ...
1 vote
0 answers
55 views

using stash variable with same name like EE var

loping through channel entries tag, I can use {title} for the title of the article. inside the channel entries loop for the specific article, I use an EE partial with get list inside. Inside the ...
0 votes
1 answer
241 views

Stash variables not working in EE3

I'm using Stash 3.0.3 (from the EE3 branch) with EE 3.4.2 and I'm having some issues getting the Stash variables to display. I have a page setup that is using the following EE template: {!-- Get the ...
1 vote
0 answers
64 views

How to show only one entree per author from a found list of authors

Situation: A channel tag gets feeded by an array of author ID's, thus outputting all entrees of the selected authors. Problem: I must restrict these entrees to one per author. Solution: Should we ...
  • 376
0 votes
1 answer
76 views

static caching with stash and spa behaviour

our website is SPA, so only first request is loading the whole page with css/js stuff. every next load is an ajax request. the initial request caches the whole site as expected. code is: {layout="ech:...
0 votes
1 answer
85 views

EE embed inside stash parse process end

can I do an embed within a stash:parse with process end? {exp:stash:parse process="end"} {embed="index/.homeFeatured"} {/exp:stash:parse} I just got the the embed line printed on the screen, ...
0 votes
1 answer
54 views

stash embed in expression engine layout not parsing

I would like to embed my ads by a stash embed inside of my base template, is this not possible to achieve thay way? {layout:set name="backgroundAd"} {stash:embed context="ech/ads" name="background" ...

1
2 3 4 5
9