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

Changing User Name Link in Navigation

Discussion in 'Styling and Customization Questions' started by Luke B, Oct 19, 2011.

  1. Luke B

    Luke B Active Member

    Hello All,

    When a user clicks their user name, it takes them to their "personal details" page. I would like to change that destination to their profile page.

    How can this be achieved?

    profile 2.png
     
  2. M@rc

    M@rc Well-Known Member

    You'll need to edit templates to achieve this.

    Admin Control Panel -> Appearance -> Templates -> navigation_visitor_tab

    Find this line :

    HTML:
    <a href="{xen:link account}" class="navLink accountPopup" rel="Menu"><strong>{$visitor.username}</strong></a>
    Replace {xen:link account} with the contents below :

    Code:
    {xen:link members, $visitor}
     
    Fuhrmann and Luke B like this.
  3. Luke B

    Luke B Active Member

    Perfect!
    I'm trying to give the user profile a more important roll in the site.
    Thank you very much!
     
    Fuhrmann likes this.

Share This Page