Loading ...

Show Street/Address 1 field on User Profile | Communifire Support

Home » Spaces » Communifire Support » forum » Report Bugs and Issues » Show Street/Address 1 field on User Profile
Communifire Support

Leave Space :

Are you sure you want to leave this space?

Join this space:

Join this space?

Edit navigation item

Required The name that will appear in the space navigation.
Required
Required
Required The url can point to an internal or external web page.
 
Login to follow, share, and participate in this space.
Don’t have a support community login?Create your account now
Posted in: Report Bugs and Issues

Show Street/Address 1 field on User Profile

Subscribe to RSS
  • I'm having an issue displaying the Street in the Location field group on the User Profile. The street is in the Address 1 field. When I add Address 1 field by itself I can see the data pull in, but when I try to show it in the Location field group nothing comes through. What am I missing?

  • Answered

    Hi Jennifer,

    By default, the Location field only displays the city, state, and country. To change this, please follow the steps below.

    1. Go to Control Panel > People > User Profiles
    2. Edit the User Profile page.
    3. Expand the "Work and Contact Information" Section widget.
    4. Edit the "Location" Field Group widget. 
    5. In Field Summary, enter the following:
      {{{field:Address 1}}} {{{field:Address 2}}} {{field:City}}{{#if ||field:City||}}{{#if ||field:State||}}, {{/if}}{{/if}}{{field:State}} {{field:Country}}
    6. Click Save Widget.
    7. Click Publish changes.

    Once you save the page, the Location field in user profiles will display address 1 and address 2. Let us know if you need any help doing this.

    Grace

  • It worked, thank you!

  • Can you also help with showing the state & zip on a new line when there is no city field? Below is the current code, but for those who don't have City information, it adds everything on the same line.

     

    {{{field:Address 1}}}{{#if ||field:Address 1||}}{{#if ||field:City||}}<br> {{/if}}{{/if}}{{field:City}}{{#if ||field:City||}}{{#if ||field:State||}}, {{/if}}{{/if}}{{field:State}} {{{field:Postal code}}}

  • Answered

    Hi Jennifer,

    Please update the field summary to the following. This will display the state and zip code on a new line when there's no city.

    {{{field:Address 1}}}{{#if ||field:Address 1||}}{{#if ||field:City||}}<br> {{else}} <br>{{/if}}{{/if}}{{field:City}}{{#if ||field:City||}}{{#if ||field:State||}}, {{/if}}{{/if}}{{field:State}} {{{field:Postal code}}}

    Grace

  • Thank you so much!

Page 1 of 1 (6 items)