Skip to main content

Questions tagged [parse]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
mes's user avatar
  • 1
0 votes
1 answer
36 views

How can I use stash->parse in my extension

I'm writing an addon which can take an EE template, replace some variables and then crucially parse the EE tags in it and then email it. I was hoping stash:parse might come to my rescue after a day ...
boilerroomdigital's user avatar
1 vote
1 answer
133 views

Solspace Freeform return path {csrf_token}

I am having an issue, probably parse related. Using Solspace Freeform I am trying to include the {csrf_token} in the return path but its not working.. my code is as follows for the form: {exp:...
Mark's user avatar
  • 317
0 votes
1 answer
73 views

Pull dynamic entries using Ajax template on multiple Structure entries with Relationships

I've created two separate Structure entries, both using the Page template below with Relationship entries. It works fine if I only want one page, but I've made a second page to pull different ...
frshjb373's user avatar
  • 273
0 votes
1 answer
94 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, ...
Thomas Hartmann's user avatar
0 votes
2 answers
100 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 ...
doubleplusgood's user avatar
0 votes
1 answer
52 views

Stash parse categories and category_id

I'm trying to use the following conditionals in exp:stash:parse to set some values based on the category_id. However, I just can't get it to work and it always just gold for channel_colour or 20 for ...
doubleplusgood's user avatar
0 votes
1 answer
57 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 ...
Andrew's user avatar
  • 1
1 vote
1 answer
82 views

expressionengine stopped parsing some tags after adding some content

asked this on stackoverflow before realizing there was a stackexchange site for expression engine, hope nobody minds i'm copying my question to here. i am modifying an expression engine channel entry,...
jay's user avatar
  • 121
1 vote
0 answers
131 views

Is there a built-in way to sanitize data with parse_variables?

I'm a developer on a huge site that does millions of dollars of transactions per day. Our client has recently engaged a White Hat scanning firm to scan the site, and we've been having some issues. ...
EmmyS's user avatar
  • 143
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:...
ExpressionEngineNewbie's user avatar
0 votes
2 answers
109 views

wrap pagination in class

I have a basic channel and I want the pagination to be at the top. I have got a pagination limit of 20 and output it like this {if '{count}'=='20' OR '{absolute_count}'=='{total_results}'} {...
LeBlaireau's user avatar
2 votes
0 answers
41 views

php parse syntax error on cartthrob checkout

On my cartthrob site I can add and remove things to and from the cart just fine but when i go to checkout i get this error Parse error: syntax error, unexpected $end, expecting ':' or '{' in ...
user2972's user avatar
0 votes
2 answers
494 views

Template variable not parsing

We have a custom third-party module called qo5. All of our controllers are in there. I have a template that I need to pass a variable from a PHP function to. {exp:qo5 action="deal/getDealCode"} ...
EmmyS's user avatar
  • 143
1 vote
2 answers
260 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 ...
vangogh's user avatar
  • 13
1 vote
2 answers
251 views

Wygwam 'site page' link type not parsing when used within Low Variables variable

I am using: EE 2.7.2, Low Variables 2.4.0, WYGWAM 3.2.2 I have a WYGWAM field as a Low Variable, and within it, I am setting up some page links. When I create a link, under "Link Type" I chose "Site ...
Gary Reckard's user avatar
3 votes
3 answers
415 views

Dealing with Conditionals in Stash

So I have the following code snippet which is working fine: {exp:stash:set name="market_ids" parse_tags="yes"} {exp:query sql="select GROUP_CONCAT(entry_id SEPARATOR '|') as market_ids from ...
madebyhippo's user avatar
  • 1,986
1 vote
2 answers
220 views

Stash Parse Order Issues

Im pretty sure the problem here is the parse order, but I'm struggling to figure out where the issue is. I have a page with the following on it: {exp:stash:set name="market_ids" parse_tags="yes"} {...
madebyhippo's user avatar
  • 1,986
3 votes
1 answer
117 views

Parse exp:channel

Is there any way to parse tags exp:channel in a third party module. In my custom module I need to call exp:channel, but need to get entry ids before final rendering of the module. Can anyone know how ...
Dhanu's user avatar
  • 139
1 vote
2 answers
464 views

Relationships tag not parsed

I have the following code: {exp:channel:entries uri_page="{last_segment}"} <!--Set some stash variables here, then:--> {exp:stash:set name="content"} <!--Some markup here, then:-->...
Alfonso's user avatar
  • 279
0 votes
2 answers
152 views

Wrong PHP parsing order in snippet

I'm trying to parse a global variable inside a snippet that represents my page footer, and I want to perform a string function on the content of that variable. The snippet is being called into a ...
Standout Digital's user avatar
1 vote
1 answer
233 views

Using categories in my php variable?

How do I get the if statement below, to return TRUE and therefore return my string "Africa is in this array"? Note: template is set to parse on INPUT (I cant use output for this template) <?php ...
JayB's user avatar
  • 59
1 vote
0 answers
153 views

Server Migration : New Lines in Playa Tag Pair Breaking Templates

I have an issue where the same template - specifically Playa tag pair - works on one server, but not on another. I just used the Plesk migration manager to move from a Media Temple DV 3.5 to DV 4. ...
Luke Hardiman's user avatar
3 votes
3 answers
89 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 ...
Michael Witwicki's user avatar
2 votes
1 answer
198 views

parse order and nested conditionals

Can i nest simple conditionals and are nested simple conditionals still parsed early? What happens when nesting an advanced conditional inside a simple conditional? (wiki answer)
GDmac's user avatar
  • 2,157
30 votes
5 answers
2k 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 ...
CreateSean's user avatar
  • 4,747