Questions tagged [parse]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
11 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 ...
1
vote
1answer
110 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:...
0
votes
1answer
68 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 ...
0
votes
1answer
69 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, ...
0
votes
2answers
76 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
1answer
38 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 ...
0
votes
1answer
39 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 ...
1
vote
1answer
77 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,...
1
vote
0answers
125 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. ...
1
vote
1answer
55 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
2answers
96 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}'} {...
2
votes
0answers
40 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 ...
0
votes
2answers
469 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"} ...
1
vote
2answers
241 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 ...
1
vote
2answers
231 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 ...
3
votes
3answers
412 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 ...
1
vote
2answers
214 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"} {...
3
votes
1answer
111 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 ...
1
vote
2answers
451 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:-->...
0
votes
2answers
146 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 ...
1
vote
1answer
231 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 ...
1
vote
0answers
150 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. ...
3
votes
3answers
83 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 ...
2
votes
1answer
191 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)
30
votes
5answers
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 ...