The parse-order tag has no wiki summary.
0
votes
2answers
17 views
How can I control output order using Low Variables and Playa
I am trying to control the order of my products using Low Variables (2.3.4) and Playa (4.3.3).
I have a Low Variable of type Playa name lv_product_order which I use to output the ids in the ...
1
vote
1answer
51 views
Avoiding syntax errors with PHP and strings with quotation marks
What is the best practice for manipulating strings with PHP (output mode) that might contain straight quote marks (single or double)? I'm not totally clear how EE stores and outputs these normally, ...
0
votes
1answer
28 views
Stash List & Matrix Rows Returning Empty
Firstly let me say I'm probably making a really simple mistake, this is my first time using Stash so I'm trying to get my head around it. I've spent the last 45 minutes searching through Google and on ...
0
votes
1answer
40 views
Embedded variables conditional - Assets 2 Issue or parse order?
I am having an issue with an embedded template. I embed the template passing a "type" variable. Then, in the embed file it displays the content based on which "type" was specified. This all works, but ...
1
vote
1answer
28 views
Entry ID Returned From Plug-In Not Working in Channel Entries Tag
I've written a custom plugin which I call repeatedly (via a channel:entries tag) to store a list of entries in an array. (BTW, you have to set up a separate singleton class to do that, as the plug-in ...
2
votes
1answer
20 views
Parse Order and Redirect=
I know I have come across this before but the solution is escaping me. I have a template and a channel lets call it widgets. If I go to the URL /widgets/ I want it to show all the entries of ...
1
vote
1answer
52 views
Stash and Categories
Is it possible to set the category id in a channel entries tag based on the last segment or by another method so that I don't have to create multiple templates?
I'm trying to get this template to ...
0
votes
2answers
43 views
Stashing a structure variable and using it as a channel parameter
Here's the code i'm essentially trying to achieve
{exp:stash:set="page_content"}
{exp:channel:entries channel="photos" dynamaic="off" entry_id="{structure:child_ids_for:1}"}
{!-- My Code ...
3
votes
3answers
69 views
Can you document EE tags with EE? [duplicate]
I've run into this before - and have never found a 'great' solution. The crux of my problem is that I need to document some EE tags, using content in a channel entry.
For example, I'd like to output ...
1
vote
1answer
41 views
Stash set_list and cartthrob order_items not playing nicely, parse order perhaps?
I've got the following code which is meant to output a list of authors of orders in cartthrob that match a certain entry id:
{exp:stash:set_list name="participants" scope="user" save="yes" ...
3
votes
2answers
99 views
Global Variable Parsing in Add-On Module
Trying to figure out what appears to be a global variable parse issue in a module add-on template tag.
Here's a sample of the tag used in the template:
{exp:syn_fb_comments:show ...
0
votes
0answers
83 views
Low Variables with Switchee - parse order issue
Hi I'm having a parse order issue that I can't seem to figure out.
I have a template that looks like this:
some code here
<div class="content-line">
{exp:low_variables:parse ...
2
votes
3answers
84 views
Param Parse Order Question
Lets say I have this code
{exp:channel:entries
limit="3"
channel="inventory"
paginate="bottom"
}
...
{/exp:channel:entries}
Lets say I want to make one of the parameters dynamic based on a ...
3
votes
1answer
42 views
Getting SuperSearch and GWCode to play together nicely
Using Solspace SuperSearch I want to search by category (and keyword), and have the categories list on the result page remember which checkboxes I selected.
It works great when I am looping through ...
1
vote
1answer
260 views
Stash embeds: struggling to parse tags
I have a chain of embeds in Stash:
A "main" template that embeds {stash:embed name="foo:.index"}
foo:.index has 1 line of code: {stash:embed name="common:.serp" stash:group_id="6" ...
1
vote
1answer
54 views
Embed Variables not parsing in time in embed placed inside of Playa Parents tag
I’m currently trying to add a safecracker form that either creates a new entry or edits the existing one depending on whether or not the CURRENT_USER has made one or not. Part of this also requires I ...
1
vote
2answers
72 views
Cartthrob notification emails and Stash
This is most likely another Stash parse order issue, but I'm not sure.
I'm trying to stay DRY and use Stash inside of Cartthrob notification emails.
I have my templates set up like so:
...
5
votes
1answer
126 views
Early Parsed Low Variable inside Channel Tags
I have a couple Low Variables I'm using similar to the traditional embed template method. This variable has query module tag to find prev/next entry, but since it's within the channel tag I'm having ...
2
votes
2answers
703 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>
...
4
votes
1answer
59 views
Using Mo' Variables in Module Tag Parameters
I'm using Mo' Variables for the early-parsed request variables. Here is the best-case scenario:
{exp:calendar:cal
date_range_start="{if get:start}{get:start}{if:else}today{/if}"
...
4
votes
3answers
85 views
setting a global var in an embedded template with PHP
I have a header template with PHP parsing on Input an the following code:
<?php
$this->EE->config->_global_vars['user_language'] = "nl";
?>
When I use {user_language} in my ...
3
votes
1answer
121 views
Does preload_replace not work in stash:embed templates?
This is a fairly straight forward question... Does preload_replace not work in stash:embed templates? In my embed templates, I tend to set a bunch of preload replace variables for things like channel ...
2
votes
2answers
184 views
Calculating a value with Stash and MX Calculator
I'm trying to do some basic math using a Stash Get var and MX Calculator. Any recommendations? I'm sure my lack of understanding of parse order strikes again.
I can get the variable using:
...
5
votes
4answers
204 views
Why is this Low Variable in a snippet not parsing?
I have a snippet that I use on nearly every page of a site. I need to give the admins some control in the fallback source of an image in that snippet. Now I know there is a parse order issue here as ...
4
votes
3answers
119 views
Simple conditionals parse when they shouldn't
I have a page that's set up like this:
{if segment_2 == ""}
// show categories
{/if}
{if segment_2 != ""}
// show entries
{/if}
I'm using simple conditionals ( as opposed to if:else ) because I ...
20
votes
5answers
361 views
What is parse order and how does it affect how my template is coded/rendered?
What exactly is parse order and how does it impact my template code and whether I should use embedded templates, global variables, snippets, low variables, stash or any other method that I may not ...
