Questions tagged [ifelse]
The ifelse tag has no usage guidance.
2
questions
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.,...
4
votes
3
answers
293
views
If statement inside a loop?
I am using the store finder module, and am trying to insert a "title" for each "state". If I have 20 stores in a certain state, I would only like to display the "title" once. Is there any way this ...