Created
March 4, 2013 17:58
list of regions with map for each
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{exp:channel:entries channel="regions" orderby="regions_reorder" sort="asc" dynamic="no" disable="categories|member_data|pagination"} | |
<div class="row"> | |
<div class="eight columns"> | |
<h3>{title}</h3> | |
<p>List Navigator offices within in this region</p> | |
</div> | |
<div class="four columns"> | |
{exp:ifelse parse="inward"} | |
{if count != "1"} | |
{exp:gmap:init id="map_{entry_id}" class="gmap" style="width:100%;height:200px" script_tag="false"} | |
{if:else} | |
{exp:gmap:init id="map_{entry_id}" class="gmap" style="width:100%;height:200px"} | |
{/if} | |
{/exp:ifelse} | |
{regions_map id="map_{entry_id}"} | |
</div> | |
</div> | |
{if count != total_results} | |
<div class="row"> | |
<div class="twelve columns"> | |
<hr/> | |
</div> | |
</div> | |
{/if} | |
{/exp:channel:entries} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment