Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: users

state.txt file

 

 

Interchange users RSS feed   Index | Next | Previous | View Threaded


danbergan at gmail

Mar 5, 2012, 8:20 PM

Post #1 of 4 (372 views)
Permalink
state.txt file

Does anyone have a copy of the state.txt file from
http://kiwi.zolotek.net/? I'm wanting to try it out, but the download
link isn't working...

Thanks -
Dan

_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users


lyn at zolotek

Mar 6, 2012, 2:17 AM

Post #2 of 4 (335 views)
Permalink
Re: state.txt file [In reply to]

On Tuesday 6 March 2012 04:20:30 Dan Bergan wrote:
> Does anyone have a copy of the state.txt file from
> http://kiwi.zolotek.net/? I'm wanting to try it out, but the download
> link isn't working...
>
> Thanks -
> Dan

I've been migrating to another machine and a couple of things got missed.
Found one though and put it there for you

--
Lyn St George
eCommerce - build::support
http://www.zolotek.net

_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users


dan at berganconsulting

Mar 6, 2012, 7:37 AM

Post #3 of 4 (337 views)
Permalink
Re: state.txt file [In reply to]

On Tue, Mar 6, 2012 at 3:17 AM, Lyn St George <lyn [at] zolotek> wrote:
> On Tuesday 6 March 2012 04:20:30 Dan Bergan wrote:
>> Does anyone have a copy of the state.txt file from
>> http://kiwi.zolotek.net/?  I'm wanting to try it out, but the download
>> link isn't working...
>>
>> Thanks -
>> Dan
>
> I've been migrating to another machine and a couple of things got missed.
> Found one though and put it there for you
>

Thanks, Lyn!

_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users


dan at berganconsulting

Mar 9, 2012, 8:17 AM

Post #4 of 4 (332 views)
Permalink
Re: state.txt file [In reply to]

On Tue, Mar 6, 2012 at 3:17 AM, Lyn St George <lyn [at] zolotek> wrote:
> On Tuesday 6 March 2012 04:20:30 Dan Bergan wrote:
>> Does anyone have a copy of the state.txt file from
>> http://kiwi.zolotek.net/?  I'm wanting to try it out, but the download
>> link isn't working...
>>
>> Thanks -
>> Dan
>
> I've been migrating to another machine and a couple of things got missed.
> Found one though and put it there for you

When testing this state.txt, I noticed that the "header" records for
the UK are not appearing when using the state_select and
country_select widgets.

In the UK:
-- England --
-- Scotland --
-- Wales --
-- Nth Ireland --

only the first entry "-- England --" will appear in the state_select
widget. For each of these entries (plus the "N/A" record) the state
field is blank, and it appears that country_select is removing
duplicates.

for(keys %states) {
my $sa = $states{$_};
my @sv;
my @st;
my %seen;
@$sa = grep !$seen{$_->[0]}++, @$sa;

I was going to make a small change to this so that duplicates are
allowed if the state was blank, but I was just wondering if there were
any other solutions? Lyn, do you use the standard "country_select"
and "state_select" widgets with your state.txt file?

Thanks -
Dan

_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users

Interchange users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.