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.
|7.x-1.7||tar.gz (17.42 KB) | zip (20.44 KB)||2017年10月2日||发布说明||简 | 繁 | 更多|
|7.x-1.x-dev||tar.gz (17.44 KB) | zip (20.46 KB)||2017年11月22日||发布说明||简 | 繁 | 更多|