Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Even US and Canada, which are imported by default, don't show up in the table at admin/store/settings/countries/edit. Also, the formatting of the page is a little screwed up - look at the wrapping of the description text. Both problems can be fixed by creating a form theme function.
Comment | File | Size | Author |
---|---|---|---|
#1 | 763784_country_import.patch | 1.19 KB | Island Usurper |
country_importer.png | 17.03 KB | TR |
Comments
Comment #1
Island Usurper CreditAttribution: Island Usurper commentedWacky. The query is fetching the country list as arrays, but then it's trying to access them as objects. I don't know why, so I'm going to go with the default behavior of using objects.
Wrapping the help text in a
<p>
tag seems to help the formatting.Comment #2
TR CreditAttribution: TR commentedYup, that fixed it. Thanks.
Comment #3
TR CreditAttribution: TR commentedI set the status wrong...
Comment #4
Island Usurper CreditAttribution: Island Usurper commentedOK. Committed.