drupal/locations

Provides a location content type and related configuration.

Installs: 49

Dependents: 1

Suggesters: 0

Security: 0

Type:drupal-recipe

2.0.0-beta4 2024-08-20 11:19 UTC

This package is auto-updated.

Last update: 2024-10-10 21:39:08 UTC


README

This recipe creates a content type and related configuration (including views) for managing and displaying location information. The intended use is to use a geocoding service (such as Google Maps or Mapbox) so that content creators can simply provide the address information, and then the latitude and longitude will be determined automatically, and displayed on a map.

For a full description of the recipe, visit the project page.

Submit bug reports and feature suggestions, or track changes in the issue queue.

Table of contents (optional)

  • Requirements
  • Installation
  • Configuration
  • Maintainers

Requirements (required)

This recipe makes use of the following modules:

Installation

  • Install the Quick Links recipe as you would normally install a contributed Drupal recipe. See the Recipes Getting Started Guide for further information. We strongly recommend using composer to ensure all dependencies will be handled automatically.

Configuration

  1. Enable the module at Administration > Extend.
  2. If the locations being managed for your site are typically within a single country, you can make content creation easier by setting a default country in the form by going to /admin/structure/types/manage/location/fields/node.location.field_location_address and then enabling the "Set default value" checkbox, and providing whatever default values make sense for your website.
  3. If you want to capture and display other information for locations, you can add additional fields to the content type at /admin/structure/types/manage/location/fields.

Maintainers