The addressfield_tokens module extends the addressfield module by adding full token support. It also adds some convenient addressfield formatters and provides a webform addressfield integration.
- Attaches tokens to every addressfield type within every entity.
- Creates a token for every addressfield component, including name, organization, thoroughfare, premise, locality, postal_code, and country.
- Allows token names to be configured for your locale (e.g. "thoroughfare" could be displayed as "Street 1" in the token table).
- Creates additional tokens:
- City, State
- Full address with formatting.
- Full address without formatting, all on one line.
- The full name of the country.
- The full name of the state (applicable for countries where states have abbreviations selectable from a select list).
- A full address with each component separated by double-spaces, compatible with the MailChimp API.
- City, State:
- The city and state separated by commas, with the country appended if not the default country.
- One line:
- The full address without formatting, suitable for display in CSV export views.
- displays only the country.
- displays only the fullname of the state or administrative area.
- select which components of the address should be displayed, and the separator that should be used between them. The components include both the abbreviated and full versions of the state and country.
- Integrates with webforms to create address fields.
- Renders an address using the default generator associated with the given handler (the ctools plugin name).
- Renders only the city, state and country separated by commas
- Renders each of the addressfield components as single line, separated by commas.
- Renders any of the address components, separated by a given separator.
Each theme function can also be overridden per country. For instance, theme_addressfield_formatter__citystate__us
This module is provided by New Signature.
- Maintenance status: Minimally maintained
- Development status: Maintenance fixes only
- Module categories: Fields, Location, Utility
- Reported installs: 8,902 sites currently report using this module. View usage statistics.
- Downloads: 60,165
- Last modified: March 15, 2016
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.