View Single Post
Old 01-10-09, 10:49 AM   #43 (permalink)
pmccumber
Forum Regular

 
pmccumber's Avatar
 
Join Date: May 2008
Location: Longmont, CO
Posts: 100
Quote:
Originally Posted by pmccumber View Post
What would be easiest is to slap Canada on as another state and list all the cities in Canada. This is how Craigslist renders them but it will be a little cumbersome as there 20+. It will only take 10 minutes but I have to be at home. I'll have that up by the weekend, if not sooner.
Well I was wrong on two fronts. One was the 10 minutes thing. Turns out the cities don't just differ in the URL by the city, they differ in the domain type (.org versus .ca). Wouldn't be that hard to kluge it but there are a couple better ways to do it and I'm going to try one of them here on my other system that isn't exposed to the world and make it work because it involves changing the database and 25-ish lines of code.

Also, there are indeed organized lists of cities by province so that would be the way to go when I do deploy it.

So Canadians are going to have to wait a little while. Sorry. -- Paul
pmccumber is offline   Reply With Quote