I enabled the optional phone/fax module, and set these to "normal" when adding an address field to my node type.

When I go to create or edit a node, however, I only see the usual set of address fields -- no phone or fax.

Looking in the database at the table for my node type (`content_type_testing`), I also see that there are columns for the usual address fields but not for phone or fax.

Comments

smscotten’s picture

Me also. I've noticed that the "normal" setting does not stick to my node type. I can set it in the "configure" page for the Address field of my content type, but when I save the change and return to configure, it has reverted back to "none."

I'm seeing that there is no addresses_phone.install file in the addresses directory. Since addresses_phone is treated as its own dependent module, I've guessed it should have its own .install file.

I'll try creating an addresses_phone.install file (based on addresses.install) and see how far that gets me.

Edit: nope, I appear to be too ignorant. It looks as though the addition of these fields is supposed to be handled by addresses_phone_addressesfieldapi(), not added with an .install, although I still see nothing that would update the schema and add columns to any tables.

brmassa’s picture

Assigned: Unassigned » brmassa

Guys,

sorry for the very long waiting for a reply. really sorry.

i know about this bug. the form creation is now fixed and soon i will fix the display. I need first to create a generic display api.

regards,

massa

brmassa’s picture

Status: Active » Fixed

Guys,

its now working. you can display the phone number as you like

regards,

massa

RichardTammar’s picture

sorry to be dumb - but where's the patch?

AlexisWilke’s picture

Richard,

I guess it was in the CVS... 8-)

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout contributions/modules/addresses

Good luck.
Alexis

AlexisWilke’s picture

> Looking in the database at the table for my node type (`content_type_testing`), I also see that there are columns for the usual address fields but not for phone or fax.

In that regard, with the newer version I had to uninstall the Phone/Fax module, then reinstall it. That generated the missing columns in the table. Also the uninstall generated an error since the columns were missing.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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