Appearance
Query tag
Simply query your entry locations. The parameters filter on the exact values in the locations table. Only the locations of the current site are returned.
The tag
{exp:reinos_maps_locator:query}Tag Parameters
Below are the Tag Parameters. Those parameters can be used in the tag described above
lat
the Latitude
lat=""lng
the Longitude
lng=""city
city=""street_name
street_name=""street_number
street_number=""postal_code
postal_code=""country
country=""country_code
country_code=""channel
Available from v4.0.0
Only return the locations of these channels (channel short names). Separate with a pipeline (|) for multiple channels.
channel="stores"status
Available from v4.0.0
The entry status of the locations. Separate with a pipeline (|) for multiple statuses. Default open.
status="open"limit
Available from v4.0.0
The maximum number of locations. Default 50.
limit="50"show_expired
Available from v4.0.0
Also return the locations of expired entries. Default no.
show_expired="yes"show_future_entries
Available from v4.0.0
Also return the locations of entries with an entry date in the future. Default no.
show_future_entries="yes"Tag Variables
Below are the Tag Variables. Those Variables can be used inside the tag described above.
entry_id
{entry_id}title
Available from v4.0.0
The title of the entry
{title}url_title
Available from v4.0.0
{url_title}entry_date
Available from v4.0.0
The entry date, with the date formatting of ExpressionEngine
{entry_date format="%Y-%m-%d"}expiration_date
Available from v4.0.0
The expiration date (0 without one), with the date formatting of ExpressionEngine
{expiration_date format="%Y-%m-%d"}lat
{lat}lng
{lng}city
{city}street_name
{street_name}street_number
{street_number}postal_code
{postal_code}country
{country}country_code
{country_code}Example
{exp:reinos_maps_locator:query country_code="nl"}
{if no_results}
No result
{/if}
entry_id: {entry_id}<br>
lat: {lat}<br>
lng: {lng}<br>
city: {city}<br>
street_name: {street_name}<br>
street_number: {street_number}<br>
postal_code: {postal_code}<br>
country: {country}<br>
country_code: {country_code}<br>
{/exp:reinos_maps_locator:query}