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 could be done with an if statement? to kind of break the loop?
{exp:store_locator:stores}
<ul>
<li style="width:260px; padding-right:20px; float:left; height:100px;">
<h5>{name}</h5>
{if address_line1 !=""}
{address_line1}<br/>
{/if}
{city}, {state}
{postal_code}<br />
{if phone != ""}
<strong>Phone:</strong> {phone}
<br/>
{/if}
{if url != ""}
<strong>Website:</strong> <a href="http://www.{url}" target="_blank">{url}</a> <br/>
{/if}
</li>
</ul>
{/exp:store_locator:stores}