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

learn more… | top users | synonyms

0
votes
0answers
6 views

CE Image tags in stash:set stop parsing when I add a stash:get

I had the following code which worked: {exp:stash:get_list name="project:{segment_3}" scope="site"} {exp:stash:set name="main_content"} <div class="rel"> <ul class="rslides"> ...
0
votes
0answers
18 views

Low events, playa and safecracker. trying to isolate entries

Let me try to describe what i'm trying to achieve. First, some background: On this site journalists who want to visit events can apply via our website. The are logged in (zoo visitor) and can see an ...
0
votes
0answers
9 views

Super Search and Stash and limiting results

I am going to try my best to explain what I am trying to accomplish so I will be breaking this up into various parts. WHAT I AM TRYING TO ACCOMPLISH: Create a filtered list of search results into ...
0
votes
0answers
16 views

Using Pagination with Devdemon Tagger

Has anyone had any luck getting pagination to work properly with Devdemon Tagger? I'll describe my setup and hopefully someone can offer some insight (EE 2.8.1, Tagger 3.2.1). This is my code sample ...
0
votes
1answer
8 views

Stash category ID and entries

I have tried to use Cat2 addon to retrieve category ID based on a category group. Later I want to use stashed category ID to retrieve entries form a channel based on a selected category. Code looks ...
0
votes
1answer
20 views

Caching Regions of template with Stash

Having a issue trying to figure out how I can cache the majority of a site page but keep the opening/closing tag of a module uncached? (ie. add_to_cart_form) Once the page is cached, the add to cart ...
0
votes
1answer
14 views

Relationship, Stash and Channel Images outputs same image

I'm working on EE 2.8.1, Stash 2.5.2 and ChannelImages 5.4.15. I'm new to Stash. In a channel entry with limit 1 if've got the following: {exp:stash:set_list name="l_portfolio" parse_tags="yes" ...
0
votes
1answer
18 views

Stash get_list and prefix: variables not rendering

Using EE 273 and stash 252. As soon as I add a prefix parameter to a get_list, stash variables inside the list are not rendering. Set_list part {!-- Get last 3 news --} {exp:stash:set_list ...
1
vote
1answer
20 views

Stash and Expresso Store modifiers

I'm trying to use stash withing Expresso Store modifiers {exp:stash:set_list name="price_list"} {exp:store:product entry_id="{entry_id}" disable_form="yes" disable_javascript="yes"} {modifiers} ...
0
votes
1answer
17 views

Problem importing database - import hangs on exp_stash table

Here's a weird one. I need to set up a dev server, so I'm importing a DB from and existing production EE install. The import proceeds fine until it gets to the exp_stash table. Then I get MySQL error ...
0
votes
1answer
27 views

Playa in a Low Variable and Stash problems after Update to latest stable Stash version

I had this scenario working before: A Stash "standard.hmtl" template with {exp:stash:get name="maincontent"} A single-view template for products that looks like this: {!-- set the page layout --} ...
0
votes
1answer
18 views

How to cache Stash Data when EE native template caching doesn't work

I needed custom event grouping by category within a Solspace Calendar table. The only way I could find to do this was the following: Use {exp:stash:append_list} within {exp:calendar:cal} to store the ...
1
vote
1answer
60 views

GWCode Categories and Stash set/get_list

I'm working on a template that outputs large tables of stockists. At the moment they're quite slow so I've reworked it a bit to use Stash set & get_list but they're still quite slow. For ...
0
votes
0answers
13 views

Solspace tag entries pagination links

I'm using tag entries like in Docs {exp:tag:entries inclusive="yes" orderby="entry_date" sort="asc" limit="10" paginate="bottom" ...
0
votes
1answer
8 views

how to define the stash embedded template?

I would like to use the Stash embed functions, but I don't know how to define the template path. In the Stash docs: {!-- Stash template file at /path/to/stash_templates/test.html --} {stash:embed ...
1
vote
2answers
30 views

Stash: set and replace inside exp:search_fields and exp:channel:entries not working

I'm trying to set (and change) a Stash var within a search loop. I tried process='end', parse='inward' and similar, but i can't set/update/replace the var inside the loop and get the proper value ...
1
vote
1answer
23 views

Adding up (SUM) the values of a field in an entries loop

I have an ee entries loop returning a bunch of entries. Each entry has a custom field holding a numerical value. I would like to add together the values of that field at the end and output the total. ...
0
votes
1answer
39 views

setting stash snippet as author_id does not parse

I try to store member_id/author_id for session during visit of other users. Goal: show content of a certain user without showing the id in a URL. My testing template has the author_id in segment_2. I ...
1
vote
2answers
36 views

What's the difference between {exp:stash:get name=“foo”}, {exp:stash:foo} and {stash:foo}?

Can someone explain to me the difference between {exp:stash:get name="foo"}, {exp:stash:foo} and {stash:foo}? I'm relatively new to ExpressionEngine, and after discovering Stash, I'm amazed at how ...
1
vote
2answers
42 views

Setting a Stash variable in the first Matrix row

I'm sure this has something to do with the parse order or it might be a bug. I'm trying to set a Stash variable in the first matrix row. After looking at the template debugging, Stash sets the ...
1
vote
1answer
21 views

Stash : Can I pass a stash_list into a stash:embed file?

I'm trying to pass in a stash list into my embed file. It does seem to pass in the values but outputting the result does not seem to work. Master Template: {exp:stash:set_list name="hours_list" ...
0
votes
0answers
26 views

stash nested list using multiple relationsship field

I'm trying to set and get a multi dimensional list for entries and their related entries, however the nested list is empty.I just can't figure out what I'm missing with the nested list: {!-- setting ...
0
votes
1answer
28 views

Listing related entries based on category

I want to list out related entries when viewing an entry, regardless of channel but according to the category of the entry. On the page where the entry is output, I output the entry in a traditional ...
1
vote
1answer
26 views

Stash lists with a dynamic list name in a relationship loop

I have got a bunch of entries in this relationship and i want to spit them out and group them by day. So, i thought i could use Stash to capture this, group them into a list for each day and the below ...
0
votes
0answers
19 views

Stashing content and injecting into another field

I'm a stash noob. I have a site where I've got a grid {related_quote} with content that needs to be injected into a wygwam field {content}. On Twitter I was pointed to this article where I'm following ...
0
votes
0answers
41 views

Stash static caching to include query string

When using Stash static caching, is it possible to take query string into account? I have some pages that have a query string that modifies some of the displayed content. So, /mypage?foo=bar, ...
1
vote
1answer
29 views

Comparing Stash variable to segment fails

I asked this also on Devotee - apologies for posting in both places but I guess here is better. I’m setting several variables in the Channel Entries loop like so: {exp:stash:set name="var1" ...
1
vote
1answer
16 views

Using Stash lists with Channel Videos, getting double result rows

I'm using EE 2.7.3, Channel Videos 3.1.5, and Stash 2.4.9. I am trying to stash all the data for my Page channel, which has a Channel Videos field. So at the top of my template, I have this code ...
1
vote
1answer
28 views

stash:cache and no_results inside channel:entries does not redirect

This seems to be linked to the issue discussed on this question however it's using cache tags instead of parse and I'm redirecting to a 404. My code is as follows: {exp:stash:cache name="page"} ...
1
vote
1answer
27 views

Low seg2cat & Stash: Error message when I use it in a conditional

I think I may be getting a parse order problem when I try and use Low's seg2cat variable in a conditional with Stash. Here's my code: {exp:stash:set name="pg_content_left"} {if ...
1
vote
0answers
15 views

Does Stash play nice with Search Fields plugin?

I have Search Fields set up to do some non-standard filtering of a channel entry and all works fine. I've come across a separate issue where it would be good to derive a Stash list from these Search ...
1
vote
1answer
35 views

Stash List - Showing too many results

I have a news page that should either display 10 results regardless of category or 10 results based on the category information in the URL. My code is checking to see if there is a category url in ...
2
votes
1answer
61 views

Stash - retrieving Matrix field data

I'm new to Stash and I'm trying to get the data from a Matrix field. The field has two columns, image and video, and there can be more than one matrix row. I've used the example from the Stash ...
1
vote
1answer
51 views

Possible to filter Stash List by two custom fields?

I'm retrieving a list and ordering it by a custom field but need to exclude some fields and include others. Essentially it is a case of the EE 'search by custom field' param but using OR not ...
1
vote
2answers
58 views

How parse channel entry fields content

Is it possible parse ExpressionEngine tags inside the content of another tag? {exp:channel:entries channel="my_channel"} {parseit {my_field}} {/exp:channel:entries} my_field should contain ...
0
votes
1answer
34 views

channel:entries and segment with Low Variables

This is my Low Variable var="lv_article": {exp:channel:entries limit="1" channel="{segment_1}"} <h1 class="title">{title}</h1> {/exp:channel:entries} When it's ...
0
votes
1answer
27 views

How do I resolve this scope issue with Stash?

I'm just playing around with implementing Stash on a site, following the Template Partials Using Stash article, but now I seem to be having a scope/execution order issue. Layout <html> ...
1
vote
2answers
58 views

Stash Destroys variable regardless of conditional

I have the following at the top of one of my pages: {if "{fn_zone}"!=""} {redirect="/store"} {if:else} {exp:stash:destroy name="delivery_day"} .... More stuff .... {/if} However, what I'm ...
1
vote
3answers
92 views

Conditionally set a Stash value

I'm using Stash to set a value like so; {exp:stash:set_value name="head_title" value="{title}"} However, I have now added a new channel field {news_meta_title} and would like to pass this as the ...
0
votes
1answer
57 views

Access a Relationship field inside a Playa field

I have a Playa field that contains related People to display on a page. In each Person entry there is a standard EE Relationship field (pre EE2.6) to assign the Office Location. What I need to do is ...
1
vote
2answers
79 views

Using Matrix with Playa Fields and Stash set_list

I'm using {exp:stash:set_list} along with a few Matrix fields, but when I use {exp:stash:get_list} in my view template to retrieve the values nothing is returned. Here's barebones example of what I'm ...
2
votes
1answer
86 views

Stash snippets vs “native” snippets

I consistently use a few Snippets for things like HTML HEAD boilerplate code, and I've long used the Snippet Sync add-on to give me easy file access to the snippet code. Now that I'm consistently ...
1
vote
1answer
24 views

Gateway Fields are not being displayed

I am trying to use a template that I have custom Gateway fields in and I am using the following code {exp:cartthrob:checkout_form return=""} {gateway_fields} <button class="checkout">Check ...
0
votes
1answer
29 views

stash {exp:stash:set} and {exp:stash:set_list}

{exp:channel:entries channel="about"} {exp:stash:set name="page_meta_description"}{about_meta_description}{/exp:stash:set} {exp:stash:set ...
0
votes
0answers
8 views

Stash - nocach in set method

Is it possible to do the following with stash? {exp:stash:var1} {stash:nocache}...{/stash:nocache} {/exp:stash:var1} First set a var, second wrap some code for nocache. The stash documentation ...
0
votes
1answer
45 views

Global Cache Fragment with Stash

So we have our navigation cached within stash to help rendering time. And as you can imagine, the navigation is present on every page. The problem is, for some reason this is creating a cache for ...
1
vote
2answers
37 views

Stash Regex Match

In my stash:get_list how would I ignore case sensitivity. I know its something to do with '/i' but don't know a thing about regex. {exp:stash:get_list name="filter_list" match="#{stash:keyword}#" ...
0
votes
1answer
65 views

Stash cacheing with embeds

It was my understanding that Stash embeds are cached by default. I'm working on an ecommerce site where all template groups have EE templates similar to: {stash:embed name="file" ...
0
votes
0answers
42 views

Stash Static caching when PHP runs as FastCGI

Has anyone been able to get Stash static caching to work properly in an environment where PHP runs as a FastCGI application? The issue is as follows: Once the homepage gets cached, all subsequent ...
0
votes
1answer
27 views

Newby question: caching, is Page module enough, and can Stash cach template without setting up htaccess file?

I am working on a site that has potential to attract a lot of traffic, says my client. I am reading here and there how to build efficient, for speed. One of the things I am looking at is the use of ...