Skip to main content

Questions tagged [stash]

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

Filter by
Sorted by
Tagged with
1 vote
3 answers
31 views

Embedded template variables and conditionals?

In an upstream template, I do this code : {embed="templatecategory/template" varA="{var1}" varB="{var2}"} These variables are populated by a custom addon. And in the ...
0 votes
2 answers
57 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 ...
0 votes
0 answers
23 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 ...
0 votes
1 answer
41 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
25 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
36 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
28 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 ...
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 ...
0 votes
1 answer
38 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==...
0 votes
1 answer
268 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
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
1 answer
41 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
27 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 ...
0 votes
1 answer
210 views

Module actions returning "File not found." for staging site, not local site

I am currently developing a website in EE (2.10.3), and everything is working great except one difference between my local version (running on XAMPP) and my staging version on a linux server. I have ...
2 votes
1 answer
270 views

Stash - merge two lists

I need to merge to loops into one stash list. The first loop is a standard channel entries loop. The second is a twitter time line, using CE Twitter.(http://www.causingeffect.com/software/...
0 votes
1 answer
90 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} ...
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" ...
1 vote
1 answer
30 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 ...
1 vote
1 answer
56 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 ...
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
57 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
40 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 ...
0 votes
1 answer
57 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 ...
1 vote
2 answers
1k 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" results="20"...
0 votes
1 answer
55 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:...
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 ...
0 votes
1 answer
105 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 ...
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 ...
7 votes
1 answer
561 views

Stash, switchee and template caching outputs a random string {6ee64145dfa4ae5926a9c326266d5954499133923}

I am using EE's next_entry tag to link to the next entry, and then using a stash/switchee combination to evaluate if we are at the last entry in the loop and if so use a channel entries loop to ...
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 ...
0 votes
1 answer
59 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=...
1 vote
1 answer
77 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
196 views

Get category_group and category_id outside the channel tag and use it to display category description text

I have to add a text, that describes the current category but I have to put it outside the channel tag with a single entry and if the category_id is for example number 5, I have to get a text that ...
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 ...
1 vote
1 answer
56 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....
0 votes
2 answers
107 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 ...
0 votes
1 answer
61 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-...
0 votes
1 answer
62 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 ...
1 vote
3 answers
168 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. ...
0 votes
2 answers
685 views

Undefined Offset error in ExpressionEngine Parser.php line 52

Using EE 3.1.4 Everything worked fine, until I changed the relationship selection to a new one. When I did that, it gave me the error. Now, even if I select the previously related field, I get the ...
1 vote
1 answer
92 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 ...

1
2 3 4 5
9