Patch (to be ported)
Project:
CCK Address Extensions
Version:
5.x-1.6
Component:
Other
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
10 Apr 2008 at 03:22 UTC
Updated:
22 Apr 2008 at 02:41 UTC
Hi.
Attached is the part of the module to support Australia and its States.
To use simply unzip and place the "australia" folder into your modules/cck_address_extensions folder (e.g. /sites/modules/cck_address_extensions/ folder).
| Comment | File | Size | Author |
|---|---|---|---|
| australia.zip | 3.1 KB | ivrh |
Comments
Comment #1
waddles commentedThis looks better than the last effort. I actually created almost exactly the same files at exactly the same time as you! D'oh!
One thing though, the zip code regex must be 4 and only 4 digits according to the latest PAF Postcode File, so you need to add a caret to the regex for zip code.
Wouldn't it be nice if we could have some kind of fuzzy match on towns in the PAF? How about an AJAX call to look up the postcode based on the city and state?
Comment #2
rconstantine commentedAs noted elsewhere, the repository for this project is screwed up, so when it is fixed, I'll combine all such patches.