First create a HubDb with fields
- name
- image
- services
- state
- address
- map_co_ordinates
- latitude
- longitude
Next create template file and load datas from your table
{% set locations = hubdb_table_rows(HUBDB_ID, '') %}{{ content.html_title }} {{ standard_header_includes }} {{ require_css(get_asset_url("/THEME/css/main.css")) }} {{ require_css(get_asset_url("/THEME/css/vendors/slick.css")) }} {{ require_css(get_asset_url("/THEME/css/main.css")) }} {{ require_css(get_asset_url("/THEME/css/templates/resource-hub-listing.css")) }} {{ require_css(get_asset_url("/THEME/css/templates/location-result.css")) }}{% block header %} {% global_partial path='/THEME/templates/partials/header.html' %} {% endblock header %} {% choice "selectSubMenu" path="@hubspot/choice", label="Choose Page Specific Menu", value="Primary", choices="Primary, Secondary, Dementia Centre" export_to_template_context=True %} {% block footer %} {% global_partial path='/THEME/templates/partials/footer.html' %} {% endblock footer %} {{ standard_footer_includes }} {% require_js %} {{ require_js(get_asset_url('/THEME/js/main.js')) }} {% end_require_js%}Our locations
Discover which of our services are available in your area.
Displaying locations
Display:
{% for rows in locations %}{% endfor %}{{ rows.services.name }}{{ rows.name }}
{{ rows.address }}
admin Changed status to publish November 24, 2022