Posted By

ryarwood on 03/08/11


Tagged

loop ee ExpressionEngine


Versions (?)

ExpressionEngine Static Loop


 / Published in: PHP
 

URL: http://www.lyoncommunities.com/website-guide/

Lyon Communities website guide example.

  1. {exp:channel:entries channel="communities" entry_id_from="1" entry_id_to="37" dynamic="no" orderby="entry_id" sort="asc"}
  2.  
  3. <h3>{title}</h3>
  4. <ul>
  5. <li><a href="{title_permalink="communities/welcome"}" title="Welcome to {title}">Welcome</a></li>
  6. {if "{community-website}" == ""}
  7. <li><a href="{title_permalink="communities/floor-plans"}" title="{title} Floor Plan Layouts">Floorplans</a></li>
  8. <li><a href="{title_permalink="communities/amenities"}" title="{community-city} Community Amenities">Amenities</a></li>
  9. {if entry_id != 48 AND entry_id != 49 AND entry_id != 72}
  10. <li><a href="{vaultware}" title="Check {title} Availability">Check Availability</a></li>
  11. {/if}
  12. <li><a href="{title_permalink="communities/schedule-tour"}" title="Schedule A Visit to {title}">Schedule A Visit</a></li>
  13. {if entry_id != 84 AND entry_id != 83 AND entry_id != 81 AND entry_id != 82 AND entry_id != 80 AND entry_id != 79 AND entry_id != 78 AND entry_id != 77}
  14. <li><a href="http://www.lyoncommunities.com/pdf/application/LyonApplication-{community-state}.pdf" title="{title} Online Lease Application">Leasing Application</a></li>
  15. {/if}
  16. {if entry_id != 72}
  17. <li><a href="{title_permalink="communities/site-plan"}" title="{title} Site Plan">Site Plan</a></li>
  18. {/if}
  19. <li><a href="{title_permalink="communities/vicinity"}" title="{community-city} Vicinity">Vicinity</a></li>
  20. {if entry_id != 72}
  21. <li><a href="http://www.lyoncommunities.com/pdf/e-brochure/brochure-{url_title}.pdf" title="{title} e-Brochure">e-Brochure</a></li>
  22. {/if}
  23. <li><a href="{title_permalink="communities/programs"}" title="{title} Programs">Programs</a></li>
  24. {/if}
  25. </ul>
  26.  
  27. {/exp:channel:entries}

Report this snippet  

You need to login to post a comment.