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

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

Code:
    <xen:hook name="account_personal_details_biometrics">
    <fieldset>
        <dl class="ctrlUnit">
            <dt><label>{xen:phrase gender}:</label></dt>
            <dd>
                <ul>
                    <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>
                </ul>
            </dd>
        </dl>

        <dl class="ctrlUnit OptOut">
            <dt>{xen:phrase date_of_birth}:</dt>
            <dd>
                <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>
                </xen:if>
            </dd>
        </dl>

        <xen:include template="account_privacy_dob" />
    </fieldset>
    </xen:hook>
 
Top