Configuration
Location module
- Configure the general location settings at Administer > Site configuration > Location (admin/settings/location).
- Configure map link settings at Administer > Site configuration > Location > Map links (admin/settings/location/maplinking). Map links are displayed with locations and link to an external mapping website. When the link is clicked the user is taken to the mapping website and the corresponding location is loaded into it. Map link settings are per country.
- Configure the geocoding settings at Administer > Site configuration > Location > Geocoding options (admin/settings/location/geocoding). Geocoding is used to automatically calculate latitude/longitude coordinates based on a given address. When geocoding is enabled a user can enter address details for a location and then on saving the page the module tries to automatically populate the latitude/longitude values using geocoding. Geocoding settings are per country.
- There is a Location Utilities page at Administer > Site configuration > Location > Location Utilities (admin/settings/location/util). This page currently provides the ability to clear province and country list caches if you modify the lists for your website.
- Set user permissions:
- submit latitude/longitude: Allows users to enter data into the latitude and longitude locations fields, either directly or with a map using the gmap module. To allow users to add longitude and latitude values while registering, the anonymous user role must have this permission.
- view location directory: Allows users to view the location_directory view, which is a default view provided by the location module.
- view node location table: Allows users to view the location_table view, which is a default view provided by the location module.
- view user location table: Allows users to view the user_location_table view, which is a default view provided by the location module.
Node Locations module
Node locations are configured per node type on the node type administration pages. For example, for the page content type, node locations are administered at Administer > Content management > Content types > Page (admin/content/node-type/page). Here you can set settings for number of locations, location fields to collect, location fields to display and RSS settings for locations.
Note: Node locations and CCK locations cannot be used on the same node type.
To disable node locations for a node type set the max number of locations to zero for that node type.
See the known issues for more information.
User Locations module
- User locations are configured on the user settings page at Administer > User management > User settings (admin/user/settings). Here you can set settings for number of locations, location fields to collect and location fields to display.
- Set user permissions:
- administer user locations: Allows users to set/edit/view any users locations.
- set own user location: Allows users to set/edit their location when editing their account.
- view all user locations: Allows users to see any users locations when viewing their account profile.
- view own user location: Allows users to see their own locations when viewing their account profile.
Location CCK module
Location fields can be added in the same manner as other CCK fields on the Manage fields tab of the content type administration page. For example, for the page content type, fields are added at Administer > Content management > Content types > Page > Manage fields (admin/content/node-type/page/fields). The location settings of a CCK location field are on the configure page for that field.
Note: Node locations and CCK locations cannot be used on the same node type.
To disable node locations for a node type set the max number of locations to zero for that node type.
See the known issues for more information.
Location Taxonomy module
Taxonomy locations are configured per vocabulary on the vocabulary add/edit pages at Admin > Content > Taxonomy > Edit Vocabulary (admin/content/taxonomy/edit/vocabulary/vid where vid is the vocabulary id).
Locations are then added to the taxonomy terms on the term add/edit pages.
Location Search module
- Settings for location search are at Administration > Site configuration > Location > Search options (admin/settings/location/search).
- General drupal settings for search are at Administration > Site configuration > Search settings (admin/settings/search).
Location Phone module
You can set collection and display settings for the location phone field wherever you can set location settings. This means on node type administration pages, the user settings page, CCK location field configure pages and taxonomy vocabulary edit pages.
Location Fax module
You can set collection and display settings for the location fax field wherever you can set location settings. This means on node type administration pages, the user settings page, CCK location field configure pages and taxonomy vocabulary edit pages.
Location Add Another module
The add another location functionality can be enabled per node type on the node type administration pages. For example, for the page content type, node locations are administered at Administer > Content management > Content types > Page (admin/content/node-type/page).
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion