Address is all showing fine except the name field. I originally did not have it turned on. I turned it on, entered a value in name and the node retains it (shows when I re-edit it) but does not show when viewing the node and not in a view either. I made sure in content type field management that the display was set on.
I think it may have something to do with the fact that I originally did not have it turned on when I defined the field in the content type. Or perhaps I'm missing something?
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | addresses1.patch | 472 bytes | Phylock |
| #3 | addresses.patch | 459 bytes | gjvoosten |
Comments
Comment #1
nonsparker commentedI am Having the same issue
Comment #2
goodeit commentedsubscribing.
Comment #3
gjvoosten commentedPatch (one-line change).
Comment #4
gjvoosten commentedComment #5
goodeit commentedwow, good find! Patch works for me, name seems to display fine.
Thanks!
Comment #6
Phylock commentedI would remove the $values['primary']as well, its an unknown variable and if its the $aname['is_primary'] its referring to, it's a boolean value and it can't be printed out the way.
Comment #7
mrtoner commentedConfirmed independently.
Comment #8
dboulet commentedPatch in #6 works well, thanks.
Comment #9
paul o brien commentedaddresses1.patch did not work for me, maybe because i am using a template.
this is my code:
All printed except Address Name. the problem is 'aname'. change to 'name' and all is fine.
Comment #10
buddapatch in comment #6 worked for me. Been tracing addresses module for ages to find it, then discovered a patch already!
Comment #11
jantoine commentedThe patch in #6 has been committed. Thanks all for the work on this.
Cheers,
Antoine