Closed (fixed)
Project:
Addresses Extras
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Jan 2009 at 16:59 UTC
Updated:
16 Jul 2010 at 10:00 UTC
Jump to comment: Most recent file
Noone can see the "Extras" fields...regardless of logged in or not...not even UID=1.
They can see the fields setup with the Addresses module, but not the "Adresses Extras" module
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | addresses.zip | 184.57 KB | mario_prkos |
| #11 | addresses_extras.zip | 19.16 KB | mario_prkos |
| #7 | addresses_extra-HEAD_internet.patch | 1.04 KB | dboulet |
Comments
Comment #1
AlexisWilke commentedI'm surprised you are the first to report such a problem... I'll have to setup a new test case on my end. It will take a little time but will return soon on that.
Thank you for your patience.
Alexis Wilke
Comment #2
clo75 commentedHi
Same for me than mdowsett (I use drupal 6.9),
Extra fields don't display ; basics address fields are displaying correctly.
Also impossible to reorder the adress fields (even with "Addres > field order" in "admin/settings/address"
Comment #3
AlexisWilke commentedclo75,
The field order mechanism is brand new and not yet supported in my Extras.
For the fact that the fields are not visible, I have to test here, but for that I need to change a few things in one of the modules I use. So more soon on that one...
Thank you for your patience.
Alexis Wilke
Comment #4
clo75 commentedThanks for your informations Alexis,
Your module is a nice one
Comment #5
PeterHock commentedHi Alexis,
same problem. I want to output the Notes-Field but all I get is 'Array'. And also simple copying code for output from adresses.inc doesn't work. For me it seems there was a change in the Adresses-Module ...
Ciao from Bavaria,
Peter
Comment #6
dboulet commentedSame here, fields are shown as 'Array'.
Comment #7
dboulet commentedThat attached patch fixes the addresses_internet module fields for me. The token values must be overridden in both 'addresses_general' and 'addresses_adr' types.
Comment #8
mario_prkos commentedAfter I applied patch I still don't see any extra fields, I only have country field.
I checked arrays in function addresses_internet_token_values() and I have at least web and contact email contained in that array, but they don't display.
Does anybody know which function is responsible for displaying of these fields ?
Comment #9
dboulet commented@mario_prkos, Did you add the tokens corresponding to your fields to your address formats at admin/settings/address?
Comment #10
portulacasubscribing
Comment #11
mario_prkos commentedThank you for help and thank you all for your efforts.
Yes, I did add tokens and applied your patch and internet address still not displayed.
But I did some research in code what is happening and I find that in token_replace doesn't function very well in function theme_addresses($afields) in address.inc. In function addresses_internet_token_values($type, $object = NULL) tokens are not populated well and in function theme_addresses($afields) token replace is not correct.
What I did:
I am new in drupal so I am not sure if this is best practice for this module. Check it out and I will appreciate any feed back from you.
Comment #12
abdelatifs commentedHi,
Is there anyway to have a skype field too.
thanks
Comment #13
AlexisWilke commentedSkype field added.
Weights correctly supported.
Visibility fixed (Note: the core module would not call the right theme() functions.)
It should all be solved, if you still remotely using this module and still have a problem, feel free to reopen.
IMPORTANT: it will only work with addresses versions after Jul 3, 2010.
Thank you.
Alexis
P.S. I did not use the proposed fixed from here. The problem was that the core changed many things and thus broken the compatibility.