Posted By

ryarwood on 06/09/11


Tagged

conditional ExpressionEngine if


Versions (?)

ExpressionEngine if Statement


 / Published in: PHP
 

  1. {if "{community-website}" == ""}
  2. <div class="stubbyButtons">
  3. <a href="{title_permalink="communities/floor-plans"}">View Our<br />Floorplans ></a>
  4. {if segment_3 != "pruneyard-west" AND segment_3 != "brentwood" AND segment_3 != "el-paradero" }<a href="{vaultware}">Check<br />Availability ></a>{/if}
  5. <a href="javascript:getDirections();" id="getDirections">Get<br />Directions ></a>
  6. <div class="stubbyReverse"><a href="javascript:getDirections();" id="hideDirections" style="display: none;">Hide Directions ></a></div>
  7. </div>
  8. {/if}

Report this snippet  

You need to login to post a comment.