In some cases you will want to create your own fields to collect addresses in a CCK content type. For example I need the country and province to be hard coded and the city to be a dropdown with limited set of options.

A "See map" field would allow you to map existing cck fields to location elements (street, additional, city, province, postal_code and country) and, when the content type is rendered, it will display the "See map" text with the associated links.

Comments

scottrigby’s picture

is it just me, or does the See Map link show whether or not this box is checked?

mariuss’s picture

I implemented this feature as a separate module, the See Map module.

scottrigby, what checkbox are you referring to? If you have problems with the See Map module then please enter a bug report there. AFAIK there are no issues with the checkbox in the See Map module.

scottrigby’s picture

mariuss, thanks for the response.

Since my issue, I realized that I want the map link to shop up all the time. I think this is part of the location module now, isn't it? So seems that i don't need See Map after all.

mariuss’s picture

So seems that i don't need See Map after all.

The really depends on your needs. Using the See Map module you don't need to do any PHP coding in your template files, and it also provides options for defaults, street address sanitization, and hiding the links for incomplete addresses.

catch’s picture

Status: Active » Fixed

Marking fixed since there's a module that does this.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.