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

XF 1.5 How to remove the user field of location, occupation and home page from personal details page?

You'd have to edit the templates, or create a template modification.
Should these codes be deleted from the template of account_personal_details?

    <xen:hook name="account_personal_details_biometrics">
        <dl class="ctrlUnit">
            <dt><label>{xen:phrase gender}:</label></dt>
                    <li><label for="ctrl_gender_male"><input type="radio" name="gender" value="male" id="ctrl_gender_male" {xen:checked "{$visitor.gender} == 'male'"} /> {xen:phrase male}</label></li>
                    <li><label for="ctrl_gender_female"><input type="radio" name="gender" value="female" id="ctrl_gender_female" {xen:checked "{$visitor.gender} == 'female'"}  /> {xen:phrase female}</label></li>
                    <li><label for="ctrl_gender_"><input type="radio" name="gender" value="" id="ctrl_gender_" {xen:checked "{$visitor.gender} == ''"}  /> ({xen:phrase unspecified})</label></li>

        <dl class="ctrlUnit OptOut">
            <dt>{xen:phrase date_of_birth}:</dt>
                <xen:if is="{$visitor.dob_day} && {$visitor.dob_month} && {$visitor.dob_year}">
                    {xen:date $birthday.timeStamp, $birthday.format}
                    <p class="explain">{xen:phrase once_your_birthday_has_been_entered_it_cannot_be_changed}</p>
                <xen:else />
                    <xen:include template="helper_birthday_input">
                        <xen:map from="$visitor" to="$user" />

        <xen:include template="account_privacy_dob" />