Questions tagged [syntax]
The syntax tag has no usage guidance.
10
questions
0
votes
1
answer
59
views
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"...
0
votes
1
answer
395
views
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 ...
0
votes
1
answer
235
views
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 ...
0
votes
2
answers
47
views
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 ...
0
votes
2
answers
100
views
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 ...
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
...
1
vote
1
answer
57
views
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 |...
0
votes
2
answers
459
views
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 ...
3
votes
2
answers
1k
views
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. ...
26
votes
7
answers
6k
views
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.,...