Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [stash]

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

2
votes
1answer
256 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
0answers
9 views

Filtering Stash list by author resulting in random entrees, one per author

I must show random entrees from a Stash list, filtered by author. In other words, my client wants to see one random entry per author. In the list can be more than 350 authors with each up to 50 or 100 ...
0
votes
1answer
39 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
0answers
16 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
1answer
18 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" ...
0
votes
0answers
26 views

How to display a nested block inside the Stash command {exp:stash:block}

Here the Stash variables: {exp:stash:set name="title"}This is the title{/exp:stash:set} {exp:stash:set name="body"}This is the body{/exp:stash:set} {exp:stash:set name="sidebar"}This is the sidebar{/...
1
vote
1answer
22 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 ...
0
votes
1answer
196 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 ...
0
votes
0answers
18 views

How can I retrieve different random entries from an embedded template multiple times on the same page?

I'm using the following template as an embed: {exp:channel:entries channel="articles" dynamic="no" orderby="random" limit="1" cache="no" disable="member_data|categories|pagination"} {title} {/exp:...
0
votes
0answers
18 views

EE4 CAPTCHA doesn't Display in embedded stash templates

I know it's not actually supported, but Stash seems to mostly work fine in EE4. Anyhow, For some reason the CAPTCHA, in a "standard" 'exp:email:contact_form', doesn't display. I've tested the same ...
0
votes
0answers
36 views

Bloqs & Stash - stashing a reused bloq field

Using Bloqs, I have the following fields for an entry: Title Summary Block_type_1_relationship Block_type_1_relationship Block_type_2_text Block_type_1_relationship When I try to stash: {exp:...
1
vote
1answer
40 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
1answer
21 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
2answers
40 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
1answer
31 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
1answer
41 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
1answer
30 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
2answers
584 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
1answer
38 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
3answers
92 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
0answers
33 views

Stash nested relationship list wont display

I have a list of events, of which multiple people can be assigned but I can't get any of the related entries to display: Set: {exp:stash:set_list name='events_list' parse_tags="yes"} {exp:...
0
votes
1answer
73 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
2answers
50 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
1answer
533 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
1answer
44 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
1answer
44 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
1answer
69 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
1answer
36 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
1answer
58 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
1answer
190 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
1answer
98 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
1answer
51 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
2answers
85 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
1answer
45 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
1answer
54 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
3answers
90 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
2answers
337 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
1answer
60 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
1answer
44 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:...
1
vote
1answer
21 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
0answers
31 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 ...
1
vote
0answers
57 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 ...
0
votes
1answer
169 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 ...
0
votes
1answer
51 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
1answer
56 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
1answer
41 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" ...
0
votes
2answers
59 views

Stash embed not working

Hoping someone can help as this has been driving me crazy for 2 days now... For some reason I just can't get this to work in a template: {stash:embed:layouts:product} When I view the page it simply ...
1
vote
1answer
27 views

modulo inside stash list

I have a stash list for displaying entries. In general a row has 3 columns, but I also want to break with rows of 2 columns. layout looks like: 30%|30%|30% 30%|30%|30% 50%|50% 30%|30%|30% 30%|30%|30%...
1
vote
1answer
40 views

Tricky Stash table styling task

I have a matrix field which outputs a series of prices for a tour. An image probably illustrates most easily what I'm doing and need to do. Where the ticket title is repeated in subsequent rows, it ...
0
votes
1answer
25 views

Stashing Entry Ids not working with get tag

I've got a stash set like this: {!-- retrieved at line 173--} {exp:stash:set name="st_featured_ids" type="snippet" parse_tags="yes"} {director_featured_spots backspace="1"}{...