• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 RE: Custom User Fields Format on Profile Page [member_view]

MsJacquiiC

Well-known member
#1
Quite similar to my question here.

What I'd like to do is augment how some custom profile fields are showing on a user's profile page.
This is what I currently see:

xf-1.png

What I'd like to see is this:

xf-1.png

For instance - "tennessee" becomes Tennessee with capitalization intact.
And "postop" becomes Post-op with capitalization and the hyphen intact.
The output should match the actual text field:







I believe I'll need to modify the member_view template. This particular bit of code:

Code:
<xen:if hascontent="true">
                    <div class="section">
                        <h3 class="textHeading">Surgery Information</h3>

                        <div class="primaryContent">
                            <xen:contentcheck>
                                <xen:if hascontent="true">
                                    <div class="pairsColumns aboutPairs">
                                    <xen:contentcheck>                                       
                                        <xen:if is="{$customFieldsGrouped.personal}">
                                            <xen:foreach loop="$customFieldsGrouped.personal" value="$field">
                                                <xen:include template="custom_field_view" />
                                            </xen:foreach>
                                        </xen:if>
                                    </xen:contentcheck>
                                    </div>
                                </xen:if>

                                <xen:if is="{$user.about}"><div class="baseHtml ugc">{xen:raw $user.aboutHtml}</div></xen:if>
                            </xen:contentcheck>
                        </div>
                    </div>
                </xen:if>
@Brogan and @Mike helped with a similar issue. Perhaps either one of you gentlemen can help with this as well? I hope so :)

Thanks

J.
 

MsJacquiiC

Well-known member
#3
You will want to edit the field value HTML segment found within each custom field (last tab).
Thanks @Jeremy. I don't know why I'm having such a time wrapping my head around XF custom profile fields...
I've tried so many different options in the HTML segment and none of them work. Can you suggest an exact code to use in that spot please?
I appreciate your help ;)

J.