Questions tagged [dry]

The tag has no usage guidance.

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

Cleanest way to list entry titles with links to body of entry below?

I'm trying to achieve something that I think might be simple, but I'm just not getting it figured out. What I want is to have a list of my entry titles with links to anchors to the body of the entry ...
0
votes
1answer
195 views

Caching methods discussed : search for the ‘holy grail’…

Good morning everyone, no question with a direct answer here but looking for what you believe to be the best mix of real time vs caching. A few scenario’s that i would like to have your vision, just ...
1
vote
2answers
87 views

a case for Stash or another approach?

With multiple blog listing templates: index, category, tag, archive, search-results etc - the markup for those listings never really changes between templates. However, if we need to add something to ...
4
votes
2answers
139 views

Using Stash Embeds for common elements such as call to actions

It seems to me that using Stash Embeds with variables could be a really powerful way to keep things really dry. I was wondering if anybody uses them to create consistent elements throughout their ...
1
vote
3answers
248 views

Repeating layout blocks within and across pages without a bunch of embeds?

I've currently got a project on my plate where content is presented in blocks of a few different styles, for instance: A: Introduction area with large graphic, headline, and copy B: Carousel/slider ...
0
votes
1answer
61 views

Embedding article template with many entry tags

I’m working on a blog and would love to make the markup for a single article its own template for embedding elsewhere so I don't have to repeat that markup in multiple places, but I don't know how to ...
2
votes
3answers
404 views

Set Custom Field Prefix With Stash

I have multiple channels with different field groups, but several duplicate fields. For example: Channels: products_bikes products_skateboards products_trikes Fields: bikes_summary ...
1
vote
1answer
125 views

Clearing Stash in Loops

I'm having an issue with stash holding onto some content when looping through records. I have a BrilliantRetail catalog listing page which loops through all the entries in a category. Within this tag,...
10
votes
2answers
4k views

Stash Embeds - Trying to be DRY

I'd like to know if/how Stash embeds could be used in a particular way. I'm trying to keep things DRY. Generally my templates look something like this: _wrapper.html <html> <body> &...
6
votes
3answers
369 views

Stash, DRY and redirect

I'm currently wiring together a site that uses the DRY principle and makes heavy use of @croxton Stash module. All is working as expected but if I purposefully remove part of the URL I cannot force a ...
20
votes
6answers
2k views

Stash vs. Embeds

I am using Stash only recently and was wondering how the performance is boosted over using embeds? I know there are a few less queries used in general, and I know you can subvert the parse order, but ...