drupal/locations
最新稳定版本:2.0.1
Composer 安装命令:
composer require drupal/locations
包简介
Provides a location content type and related configuration.
README 文档
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
- Enable the module at Administration > Extend.
- 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_addressand then enabling the "Set default value" checkbox, and providing whatever default values make sense for your website. - 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
- Martin Anderson-Clutz - mandclu
统计信息
- 总下载量: 2.57k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-07-31