Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
4 votes
Accepted

Conditional if else Problem

Try this: <h3> {if long_titles} {long_titles} {if:else} {title} {/if} </h3>
jrothafer's user avatar
  • 5,900
2 votes
Accepted

Checking the channel in the channel entries tag

try using channel_short_name == "work" You can find the short name in the list of channels. Also in your channel tag, you'll need to specify both channels. channel="work|latest"
Jim Wyse's user avatar
  • 1,987
2 votes

Conditional {if} and {if:else} Getting Error Message

You cannot close your exp:channel:entries-tag in a branch of the if-structure, because in case you have a banner (first branch) you finish the channel-loop and will not get to the end of the if-...
BNetz's user avatar
  • 470
1 vote
Accepted

'IF' Conditional Not Working

It needs to look like this: {if segment_3 == "opening_night_concert1" XOR segment_3 == "the_greats" XOR segment_3 == "a_woodwind_affair"}
Jim Wyse's user avatar
  • 1,987
1 vote
Accepted

Conditional with if and ifelse not working

Option 1 - show nothing at all if there is no image: {if event_feature_image_04 OR event_feature_image_03 OR event_feature_image_02 OR event_feature_image_01} <img class="img-responsive ...
JCOGS Design's user avatar
  • 3,585

Only top scored, non community-wiki answers of a minimum length are eligible