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.
Hi, I added to user's profile new field - Country. New users who registre now can see this field and can change this field in user's profile edit form. But old users who have registered before cann't see this field? How can I fix this?
Comments
Comment #1
Alan D. CreditAttribution: Alan D. commented"cann't see this field" meaning that they can not see a country on their profile page (user/2) but can edit it? (i.e. user/2/edit)
All fields work this way. You can use the module Empty fields to supply a fallback value if you want to show some other text. Once enabled, you can alter the display fields (admin/config/people/accounts/display), clicking the little cog to the right of the country field, and entering the empty field value here. You need to repeat on any display mode that you want this data to show. Empty fields requires the Field formatter settings module.
Comment #2
Alan D. CreditAttribution: Alan D. commentedClosing due to no feedback.
Comment #2.0
Alan D. CreditAttribution: Alan D. commentededit
Comment #3
funtik44 CreditAttribution: funtik44 commentedsub
Comment #4
Alan D. CreditAttribution: Alan D. commentedIf you have a form alter or custom template for this form, then you may simply have forgotten to render the entire form.