Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After creating a new event in a fresh test Drupal Commons site the address field content (postal_address) is not rendered in the node view. Data is saved in the database. As far as I can see using the devel module data is available. I am testing with admin/full rights. Tried to re-install. Tried to add a new address_field and this one does also not render. Is there anything else to verify/check?
Comments
Comment #1
bart.roelands@gmail.com CreditAttribution: bart.roelands@gmail.com commentedHello,
I found out today that the address is not displaying because of a check in the commons origin template.php line 1172
For address formats that don't have a administrative_area (such as in my case Belgium) this field remains empty end is thus not displayed.
I have worked around this for now changing line 1187 to
$address['#access'] = TRUE;
There is probably a better fix for future releases.
Thank you for taking this up
Bart