Questions tagged [syntax]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

I don't know what I'm doing! Please Help?

What is wrong with this template code?? {exp:channel:entries channel="featureinfo" limit="1" disable="categories|category_fields|member_data|pagination|trackbacks"} {sn_header_news} <div id="mainb"...
Roz Glarey's user avatar
0 votes
1 answer

Parse error: syntax error, unexpected T_STRING

suddenly an error shows up on my site. It's happening only one user's profile page. All other profiles seem to work fine. It's EE 2.5.2 I have no clue where to start looking for the error. "Parse ...
Philip's user avatar
  • 31
0 votes
1 answer

Submit Video URL no longer working in Channel Videos

My clients site has been using Channel Videos module for a couple years. Recently the 'Submit Video URL' for YouTube has stopped working, you enter a URL click OK, but nothing happens. Searching for ...
Erbert's user avatar
  • 301
0 votes
2 answers

comment count + syntax error?

Am I missing something? It displays the 0, and 1 comment, but not multiple comments. I'm sure it's a simple answer, but I can't see what error I'm making, and I'm not getting any feedback in ...
unsider's user avatar
0 votes
2 answers

Conditional statement syntax

I am working on an Expressionengine site at the moment, the client would like the ability to choose if there's a custom phone number in the sidebar of the page and if non is entered it just shows the ...
Harry Francis's user avatar
2 votes
0 answers

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
1 vote
1 answer

GRID template syntac

having some problems with a GRID field type in my templates. I have an entrie setup with the grid field type containing three records. {exp:channel:entries limit="1"} {body_image} COUNT1 |...
Bas van Ginkel's user avatar
0 votes
2 answers

Advanced conditional to show entries where a field is empty

I'm trying to show a list of all entries in a certain channel, in a certain category. I've got that much. In that, I'm trying to list all entries where a certain field is empty. I'm not getting the ...
user avatar
3 votes
2 answers

Sublime text edit and ExpressionEngine Syntax - Not highlighting

Has anyone successfully gotten EE tags to properly highlight in Sublime Text 2? I tried installing the default ExpressionEngine package available from the package installer and it doesn't do anything. ...
Nuno Albuquerque's user avatar
26 votes
7 answers

Difference between quoted and unquoted comparison syntax

In general, when comparing variables in templates, I use unquoted variable names. e.g., {if segment_3 == category_url_title} If comparing to an actual value (not a variable), I quote the value. e.g.,...
Derek Hogue's user avatar
  • 17.4k