Remove Your Account Pages and Links

Use this procedure to remove your account pages and links.

  1. Edit the account/overview.php file to remove the Settings section and the link for updating settings. (By default, the Change Your Password link is hidden when customers log in with PTA.)
    Note: If you enable dual-mode login, you might want to keep this section for customers who log in directly to the customer portal without being validated through an external source. In that case, you might want to create an alternate Your Account page.

    Delete these lines of code.

    <h2><a class="rn_Profile" href="/app/account/profile#rn:session#">#rn:msg:SETTINGS_LBL#</a></h2>
    <div class="rn_Profile">
    <a href="/app/account/profile#rn:session#">
    
    #rn:msg:UPDATE_YOUR_ACCOUNT_SETTINGS_CMD#</a><br/>
    <rn:condition external_login_used="false">
    <a href="/app/account/change_password#rn:session#">
    
    #rn:msg:CHANGE_YOUR_PASSWORD_CMD#</a>
    </rn:condition>
    </div>
    
  2. Edit the templates/standard.php file to remove Account Settings from the drop-down list on the Your Account tab of the template.

    Locate this line of code.

            subpages="#rn:msg:ACCOUNT_OVERVIEW_LBL# > /app/account/overview, 
    #rn:msg:SUPPORT_HISTORY_LBL# > /app/account/questions/list, 
    #rn:msg:ACCOUNT_SETTINGS_LBL# > /app/account/profile, 
    #rn:msg:NOTIFICATIONS_LBL# > /app/account/notif/list"/></li>
    

    Delete #rn:msg:ACCOUNT_SETTINGS_LBL#> /app/account/profile,.

  3. Delete these page files:
    • account/profile.php

    • account/change_password.php

    • account/change_password.php

    • utils/submit/password_changed.php

    • utils/submit/profile_updated.php