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

Add "Start Conversation" Tab to User Profile Page

Discussion in 'Styling and Customization Questions' started by toodlez, Sep 7, 2011.

  1. toodlez

    toodlez Active Member

    When viewing a user's profile, there are tabs for their profile comments, recent activity, posts, information...

    How can I add a tab for Start Conversation?
    I tried to add this code below the last tab, it didn't work

                    <li><xen:if is="{$canStartConversation}"><a href="{xen:link conversations/add, '', 'to={$user.username}'}">{xen:phrase start_conversation}</a></xen:if></li>
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Adding a tab is a bit more involved than that.

    Wouldn't you be better off with a link in the left sidebar, rather than a whole tab?
    A tab is something to be selected for displaying content, not to act as a link.

    BTW, there is already a Start a Conversation link on the Information tab.
  3. toodlez

    toodlez Active Member

    I know that it is already in there, I would rather have it show up right on the first page which i why I wanted the tab, and prefer the tab...

    However a link on the left below the avatar would be cool too
  4. erich37

    erich37 Well-Known Member

Share This Page