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_search:results id="Color Search" orderby="color_proximity" sort="asc"} | |
| {if no_results} | |
| <p>There are no matching photos found.</p> | |
| {/if} | |
| {if has_searched} | |
| {color_photo} | |
| {/if} | |
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
| <h3>Map</h3> | |
| {exp:gmap:init id="map" center="United States" zoom="3" style="width:400px;height:300px" class="gmap"} | |
| <hr> | |
| <h3>Form</h3> | |
| {exp:channel_search:form id="Geolocation"} | |
| <div class="row"> |
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_search:results id="Geolocation" orderby="distance" sort="asc" limit="5"} | |
| {if is_first_row} | |
| {if prev_page || next_page} | |
| <div class="pagination right"> | |
| {if prev_page_url} | |
| <a href="{prev_page_url}"><i class="icon-circle-arrow-left"></i> Prev Page</a> | |
| {/if} |
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
| <h3>Types of Locations</h3> | |
| <ul> | |
| <li><a href="/channel-search/examples/creating-custom-urls">All Locations</a></li> | |
| <li><a href="/channel-search/examples/creating-custom-urls/restaurants">Restaurants</a></li> | |
| <li><a href="/channel-search/examples/creating-custom-urls/lodging">Logding</a></li> | |
| <li><a href="/channel-search/examples/creating-custom-urls/landmark">Landmarks</a></li> | |
| <li><a href="/channel-search/examples/creating-custom-urls/park">Parks</a></li> | |
| </ul> |
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
| <h3>Form</h3> | |
| {exp:channel_search:form id="Basic Usage Multi"} | |
| <div class="row"> | |
| <div class="nine columns"> | |
| <div class="row"> | |
| <div class="nine columns"> | |
| <label for="q">Keywords</label> | |
| <input type="text" name="q" id="q" value="{form:q}" /> | |
| </div> |
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
| <h3>Form</h3> | |
| {exp:channel_search:form id="Basic Usage"} | |
| <div class="row"> | |
| <div class="nine columns"> | |
| <div class="row collapse"> | |
| <div class="nine columns"> | |
| <input type="text" name="q" id="q" value="{form:q}" placeholder="Keywords" /> | |
| </div> | |
| <div class="three columns"> |
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
| (function($) { | |
| /** | |
| * FlipClock English Language Pack | |
| * | |
| * This class will used to translate tokens into the english language. | |
| * | |
| */ | |
| FlipClock.Lang.English = { |
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
| $(document).ready(function() { | |
| $('.title a[href="#Map"]').click(function() { | |
| console.log('test'); | |
| }); | |
| }); |
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:stash:set} | |
| {stash:page_title}Healthy Hamilton County{/stash:page_title} | |
| {stash:page_class}homepage split-one-column{/stash:page_class} | |
| {stash:page_quote} | |
| {exp:entries:get url_title="homepage-quote"} | |
| {page_content markdown="true"} | |
| {/exp:entries:get} | |
| {/stash:page_quote} |
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
| This example is for Photo Frame, but should work with anything else too. | |
| {your_map_field id="map"} | |
| {your_photo_field} | |
| <img src="{photo:url}" alt="{title}" /> | |
| {/your_photo_field} |