Ticket #18 (new enhancement)

Opened 3 years ago

Last modified 16 months ago

Break down address into separate fields

Reported by: IVORW@… Owned by: Nobody
Priority: normal Milestone:
Component: openguides Version:
Severity: normal Keywords: check
Cc:

Description

Fri Oct 14 03:19:20 2005 IVORW - Ticket created [Reply] [Comment]

Subject: Break down address into separate fields

Currently, OG has two fields which are configured at guide level: country and city. This is not flexible enough, and can't cope with circumstances like "The Tourist Engineer".

While still retaining a metadata field called "address" containing "Foobar House, 2 Foobar Crescent" and suchlike, I propose the following configurable metadata fields:

town city county state country

Each of these is configured at the guide level to be one of the following:

* A metadata field * Turned off * Forced to be a particular value e.g. London

In the latter case, the edit page presents a checkbox against the forced value. This will enable us to have addresses in "Richmond, Surrey" in the London guide for example.

Download (untitled) 706b

Sun Oct 30 10:05:39 2005 IVORW - Correspondence added [Reply] [Comment]

Starting to work on this one. Please let me know of any relevant points.

Download (untitled) 72b

Sun Oct 30 14:08:25 2005 IVORW - Correspondence added [Reply] [Comment]

A patch is ready (attached)

Download (untitled) 28b

Download rt15051.patch 13.1k

Attachments

rt15051.patch (13.1 kB) - added by IVORW@… 3 years ago.
ticket_18.patch (21.7 kB) - added by ivorw 3 years ago.
Updated up to changeset [731]

Change History

Changed 3 years ago by IVORW@…

Changed 3 years ago by EarleMartin

If we're going to be easy for people to use around the world, we should probably allow people to name the component fields of the address themselves.

See http://www.columbia.edu/kermit/postal.html for an introduction to a world of pain!

Changed 3 years ago by dom

  • component set to openguides

Changed 3 years ago by ivorw

  • owner set to ivorw
  • status changed from new to assigned

Changed 3 years ago by ivorw

I'm reviewing this in the light of Earle's comments.

Changed 3 years ago by ivorw

I am hosting a demo of this with London data at http://www.nurflax.net/cgi-bin/openguides/wiki.cgi

Guide is configured with address_format = "street,town,city,county,country,postcode"

Presets are city and country

Please feel free to play :)

Changed 3 years ago by ivorw

Updated up to changeset [731]

Changed 3 years ago by dom

  • milestone set to 0.53

Changed 2 years ago by dom

  • milestone changed from 0.53 to 0.54

Changed 22 months ago by dom

  • milestone 0.58 deleted

Changed 22 months ago by dom

  • keywords check added

Changed 16 months ago by dom

  • owner changed from ivorw to Nobody
  • status changed from assigned to new
Note: See TracTickets for help on using tickets.