Locations is a beautiful module that brings together a lot of important features. However, one thing that might not have crossed some folks' mind is that 'Counties' can be an important field for many reasons. With the worksite I am building, we need to be able to view and sort nodes by county, or at least be able to look them up if need be.

So, there are several possible ways that this can happen.
*an optional 'county' field could be made available
*custom cck-type or module integrated fields could be made available
*I could create a seperate cck field or even a taxonomy for counties (though it would not be integrated into the beautiful locations fieldarea)

Any ideas?

Comments

rerooting’s picture

Title: Counties -or- custom fields » Counties field or custom fields
Priority: Normal » Minor
recrit’s picture

I implemented counties by creating a custom module in the contrib folder.. basically copied the fax contrib module and modified accordingly. This gets you the extra field, but you also have to make changes to the location.tpl.php to show the new county field. This works for simply collecting the data and the ability to use in views. It would be nice to have an autocomplete for already entered counties OR even better yet some relations of state and counties OR zip code and counties.

shaneonabike’s picture

Could you post that code so that it could be rolled into the locations module?

podarok’s picture

Version: 6.x-3.0 » 7.x-3.x-dev

all feature requests should be rolled against latest 7.x-3.x-dev and after commit can be backported to 6.x branch

podarok’s picture

Status: Needs review » Needs work

tag