How about adding continents to it? :)
There has already been some work done
http://drupal.org/node/161792
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | continents_api.patch | 6.33 KB | wim leers |
| #2 | continents_api.zip | 3.18 KB | wim leers |
How about adding continents to it? :)
There has already been some work done
http://drupal.org/node/161792
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | continents_api.patch | 6.33 KB | wim leers |
| #2 | continents_api.zip | 3.18 KB | wim leers |
Comments
Comment #1
mrfelton commentedI do think this would be a nice addition to the countries_api. However, if it is to be included, I think that
a) more information should be provided about the continents (at least a name to go with the two letter code)
b) it should be provided as a countries_api sub module, as this is not core to the api that the module aims to provide, and many people would not want the additional functionality and overhead.
Comment #2
wim leersI needed this, so I just wrote it. Based my code on countries_api and regions_api of course.
Since CVS is unable to create patches for new directories AFAIK, I'm just attaching a patch rolled through SVN. Should work just as well. Will be using this in production at http://driverpacks.net in a couple of hours.
Also attaching a .zip just in case.
Comment #3
wim leersOops, accidentally picked the wrong status. Sorry about that.
Comment #4
wim leersIt's been in use for almost a month now and no issues so far — it is an extremely simple module after all.
Any chance this gets committed some time soon?
Comment #5
mrfelton commentedI'll make this happen over the weekend. Thanks for your contribution.
Comment #6
mrfelton commentedcommited to cvs and backported to the 5.x branch. Thanks
Comment #8
asb commentedHi,
are there any user modules (like 'cck_country') which use the Continents API?
Thanks, -asb