Questions tagged [parse-order]
The parse-order tag has no usage guidance.
108
questions
0
votes
1
answer
28
views
Check domain where site data SEO is being plugged into
I need to be able to plug in a page URL on Facebook and Twitter and display different images.
I imagine this can be done with the og:type, but how do I check the domain in which the image is being ...
0
votes
2
answers
55
views
Parsing order with stylesheets & dynamic background images
Seems I can't use source set to switch out a background image (which happens to be from a file grid) So can't use this code
The issue is in parsing. I need to do something like this:
@media ...
0
votes
0
answers
66
views
Custom Module tags seem to be parsed twice if stylesheet link is passed back to template
I’ve built a module that creates a new file from tagdata between a tag pair, before creating the new file if a similar file already exists it moves it to an archive folder, it then writes the path to ...
0
votes
1
answer
76
views
CE Image, variable not parsed inside src image
I tried to insert a custom field variable, Stash here, a simple custom field as a text field works fine (the value is parsed), but when I use a pair tag (as Fluid, Grid or another add-on), or a Stash ...
0
votes
2
answers
45
views
Parsing issue with Low Variable - Playa field (EE 2.11.9)
Obscure issue for you here.
I have a Low Variable (using Playa) that contains several entries. I need to pass the entry_id for each entry to an embedded file. When I do this, the embed loads, but the ...
0
votes
2
answers
138
views
How can I pass the category ID of the current entry into the exp:calendar:cal tag?
I have an entry assigned to a specific category. I want events from exp:calendar:cal that share the same category to be displayed on the same page. When I hard code the category ID it works like a ...
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
79
views
Simple conditional on embed variable in exp:channel:entries
Trying to do this:
{exp:channel:entries channel="main{if embed:inttest=="yes"}_inttest{/if}" limit="1" disable="member_data|pagination" status="{tv_status}"}
Am I misunderstanding the channel ...
1
vote
1
answer
151
views
Inline errors with Freeform composer
I would like to show inline errors on my composer form in Freeform. I tried the template code mentioned at https://expressionengine.stackexchange.com/a/25346/961 which is:
<p>
{composer:...
1
vote
3
answers
166
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
98
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 ...
0
votes
2
answers
681
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 ...
0
votes
1
answer
55
views
Populating tag parameter with date via math
I am having an issue getting a dynamic field to populate a parameter inside a tag. From what I have read it is because of parsing order.
Specifically I am try to force a subscription via DevDemon ...
0
votes
1
answer
78
views
Stash Channel Entries Loop -> Replacing a part of Tag Pair field name?
Stash 2.6.7
EE 2.10.1
I've been stumped on this one for over 8 hours and feel like I'm overlooking something so simple. I've reviewed the Low parse order guide but still can't get it to work. I've ...
0
votes
1
answer
133
views
Check for channel entry seo data or use template code instead of defaults
I am using stash on a client site and was pushing over data from the entry itself for SEO meta, but want to provide the user the ability to customize it with the SEO Lite tab. Is there a way I can ...
1
vote
1
answer
95
views
Gmaps using stashed lat/long not working
I've got a google map (gmaps addon) that I'm adding pins to via low search results. Unfortunately I cannot seem to get the lat/long to pass through to the tag.
My template is below. You can see a ...
0
votes
2
answers
99
views
Cannot make stash:get to show up inside exp:channel tag
Problem:
A value set is not parsed inside a channel:entries tag.
The value is actually set (and parsed with the embed on the page).
Also, when I hard-code the value in te channel:entries tag the ...
0
votes
1
answer
49
views
retrieve the value of a custom field depending on the value of a custom member field
I have a custom member field that can have a value of "1", "2" or "3"
In channel entries I need to output the value of one of three custom fields, depending the member field value.
ie : {field_{...
0
votes
1
answer
102
views
Parsing code in a textarea field pulled in with Playa
I am trying to allow a user the ability to select code snippets (widgets?) to show in a sidebar area on a page-by-page basis. These snippets could have plain old HTML code or could be EE channel ...
0
votes
1
answer
85
views
{structure:page_uri_for:X} and parse order
I need to send a page URL as a parameter into a plugin. So I have a global var called lv_shop_page (early parsing) which is an entry ID to a page which I'm passing to structure's {structure:...
0
votes
2
answers
103
views
Global variable as a module tag pair's parameter?
I'm trying to pass {ip_address} to a module, which isn't working:
{exp:rest url="http://domain.com/{ip_address}" verb="get" format="json"}
{/exp:rest}
The {ip_address} is getting interpreted as a ...
0
votes
1
answer
274
views
Set Stash variable in Channel entry loop, then use in email contact form? Parse order issues?
The following is part of an embedded template, which is passed {embed:advertisers_entry_id} that contains a string like 34|68|124|:
{!-- Set defaults --}
{exp:stash:recipients}{/exp:stash:recipients}
...
0
votes
1
answer
334
views
Setting Stash variables inside Channel entry loop - parse order problems?
I'm passing an embed variable to an email form. The email form can either send an email to one member or multiple members. If the embed variable is just one entry id, then it's an email for one member....
0
votes
2
answers
91
views
Use Custom Field as Timezone Parameter in Date Field
I have a custom field where the publisher can choose what time zone they want the entry date to display as, but I'm having trouble when trying to use it in the template:
{exp:channel:entries
...
0
votes
2
answers
31
views
Parse Order: how to pass a value from PI as an embed variable?
I have a plugin that outputs a value, which I think I need to pass as an embed variable as I need to use that value as a parameter when calling the plugin again from within the embed. Here's the basic ...
0
votes
1
answer
32
views
Stash, Parsingorder (?) and conditionals if content exists
I am sorry to ask this, but I am stuck here.
I must change (on two places) a css class if a channel entree exists.
If yes, the class must be unit-70, if no, unit-90.
This code below does not work, I ...
0
votes
1
answer
117
views
CE String outputting global variable tag minus "{ }"
I've got a page behind a login that I have various member groups set up for.
Depending on the member group, I want the link in the Downloads section to go to a different page: e.g. Contractors ...
1
vote
1
answer
35
views
Parse order question
I have a fairly complicated sequence of queries that I need run in order as later queries rely on results from a previous query and I'm using PHP to help refine and save data. I need to pass in a PHP ...
0
votes
0
answers
55
views
Running DevDemon Tagger inside an embed
Here's my code:
{exp:channel:entries entry_id="{embed:id}"}
{exp:tagger:tags entry_id="{entry_id}" backspace="2"}{tagger:tag_name}, {/exp:tagger:tags}
{/exp:channel:entries}
It spits out ...
0
votes
1
answer
125
views
Stash & Switchee parse order problems
I have the following blocks of code that I can't seem to to work correctly. The list sets and populates perfectly, but the switchee statement doesn't work. I konw that it has do do with parse order ...
0
votes
1
answer
43
views
Only some PHP being outputted
I have the following php code in a template and it's not parsing the whole thing. Any idea what the issue is?
Here's the php code:
<?php
include "Eventbrite.php";
$authentication_tokens = ...
0
votes
1
answer
428
views
Forcing Preload-Replace variables to parse before conditionals in 2.9.0
I've been using Low's technique of combining snippets and preload variables (as described here) in order to be able to use a particular snippet repeatedly (and DRYly). The snippet contains ...
2
votes
2
answers
153
views
Best practices: Location-aware Navigation in EE2?
Recently upgraded an older Expression Engine site from 1.x.x to 2.7.3, and looking to upgrade to 2.9.0 and optimize some of the slower code. One of the issues I'm working on is getting rid of a lot ...
0
votes
1
answer
66
views
Using plugin results within channel tags
I use this code using exp:math plugin:
{exp:channel:entries channel="planilla_de_indicadores" limit="10"}
{exp:math formula="([1] / [2]) * 100" parse="inward" params="{ps_talleres2}|{ps_talleres1}" ...
0
votes
1
answer
159
views
Stash - {exp:stash:is_empty} or {exp:stash:not_empty} is not working properly
I have this code. Inside the stash tag pair, there is a loop that gets a list of
author_ids based on certain conditions
{exp:stash:set name="author_ids" trim="yes" parse_tags="yes" parse_vars="yes"}
...
0
votes
1
answer
28
views
Stash - a variable that was set is not showing the correct value
I have this code, setting some information to stash variables
{exp:rest parse="inward" ...}
<h2>foo_1 in exp:rest = {foo}</h2>
<h2>bar_1 in exp:rest = {bar}</h2>
{...
1
vote
1
answer
57
views
Parse isue with REST addon
Yet another parse order problem!
I'm trying to use http://devot-ee.com/add-ons/rest. This works:
{exp:rest url="/api/get-default-profile-image/175/" format="json"}
{default_profile_image}
{/exp:...
0
votes
1
answer
144
views
Parse order problem with CE Image?
{exp:ce_img:single
allow_scale_larger="yes"
crop="yes|center,center|0,0|yes"
filter="auto_sharpen"
hash_filename="yes"
height="{embed:height}"
parse="inward"
src="{exp:...
0
votes
1
answer
509
views
PHP parsing stage
I seem to be a bind. I have this code below
...
foreach ($items as $item)
{
?>
{exp:channel:entries
channel="foo"
search:field_name="<?php echo $item['some_key']; ?>"...
0
votes
1
answer
51
views
Using a custom variable further up the page
I have a channel field with no results
{if no_results} set variable here {/if}
I want to set a variable but use it further up the page
{if my_custom_var != "empty"}
do some layout stuff here
{/if}
0
votes
2
answers
344
views
Can retrieve stash variables inside entry tags, but not outside
I am trying to set a group of stash variables per an entry and use them in the rest of the site build but I can't 'get' the stash variables from outside the initial channel entries tag.
So something ...
0
votes
1
answer
128
views
low:events excluding an entry
I'm using low:events:entries. I have a page that shows the next upcoming featured event as a picture, then underneath it a list of events, both featured and non-featured. My next upcoming featured ...
1
vote
2
answers
354
views
Passing Plugin Values to Entries Parameter Woes
EE v2.7.2
Build Date: 20131008
I can't seem to find an elegant solution to make this work.
I've setup a channel name "test" with a field named 'test_field' (Text Input).
I've created some entries ...
0
votes
1
answer
112
views
Using structure global variables in embeds
I'm trying to create a navigation menu inside an embed, I have the following code in my main template:
{exp:structure:entries parent_id="{structure:page:entry_id}"}
{if channel_short_name == "...
1
vote
1
answer
243
views
Channel Entries - Author Id Parse order
I have this code here
{exp:channel:entries
author_id="1|CURRENT_USER"
channel="foo"
disable="categories|category_fields|member_data|pagination"
dynamic="no"
...
0
votes
1
answer
120
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
2
answers
116
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 ...
2
votes
1
answer
70
views
How to outsmart ExpressionEngine Parse Order?
I need to get this work — how can I code this to get the parse-order I need?
{exp:channel:entries channel='{exp:plugin entry_id="{segment_3}"}' …
As you can see in the code above: I read out the 3rd ...
1
vote
1
answer
179
views
Best way to access entry data from within Playa field?
I have a channel items and a channel colors, and the items channel has a Playa field item_colors that links to the colors channel. What is the best way to loop through the items entries and output a ...
1
vote
1
answer
953
views
Possible to use Stash variable as entries parameter?
I found similar questions, but the “answers” were alternatives that won’t work here. If I missed an answer, please let me know! Thanks!
I have been having trouble wrapping my head around how parse ...