Skip to content

Fieldtype template tag ​

To get the location values from your entry.

Example ​

{exp:channel:entries dynamic="no" entry_id="2"}
    {your_field_type_name}
        address: {your_field_type_name:address}<br>
        postal_code: {your_field_type_name:postal_code}<br>
        city: {your_field_type_name:city}<br>
        country: {your_field_type_name:country}<br>
        lat: {your_field_type_name:lat}<br>
        lng: {your_field_type_name:lng}<br>
    {/your_field_type_name}
{/exp:channel:entries}

Tag Variables ​

Below are the Tag Variables. Those Variables can be used inside the tag described above.

address ​

{your_field_type_name:address}

postal_code ​

{your_field_type_name:postal_code}

city ​

{your_field_type_name:city}

country ​

{your_field_type_name:country}

state ​

{your_field_type_name:state}

lat ​

{your_field_type_name:lat}

lng ​

{your_field_type_name:lng}