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

How to move 'Recent Activity' to Forums tab?

Discussion in 'XenForo Questions and Support' started by glorify, Mar 31, 2011.

  1. glorify

    glorify Well-Known Member

    I'd like to move the Recent Activity link from the Members tab to the Forums tab just to the left of the What's New link. Does this make sense to anyone else? Has anyone done it that could throw out a quick edit code? I have not dug around in the templates in that much detail yet.
     
    erich37, Ranger375 and Digital Doctor like this.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Moved from Tips, Tricks and Guides to General Support.

    Look for:
    Code:
    <li><a href="{xen:link recent-activity}">{xen:phrase recent_activity}</a></li>
    Move it to before:
    Code:
    <li><a href="{xen:link 'find-new/threads'}">{xen:phrase whats_new}</a></li>
    Like so:
    Code:
    <li><a href="{xen:link recent-activity}">{xen:phrase recent_activity}</a></li>
    <li><a href="{xen:link 'find-new/threads'}">{xen:phrase whats_new}</a></li>
     
    glorify likes this.
  3. James

    James Well-Known Member

    Of course, looking for {xen:phrase phrase_name} and not {xenhrase phrase_name} ;)
     
    Brogan likes this.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    The WYSIWYG editor parsed the :p into smilies.

    I'll edit it.
     
    James likes this.
  5. glorify

    glorify Well-Known Member

    Thanks, I'll see what I can do. :)

    I originally posted in the Tips and Tricks thinking it would be a tip and trick ;)
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    You only post in tips and tricks if you have a tip or trick which others may find useful.

    Asking how to do a template edit is just a general question.
     
  7. glorify

    glorify Well-Known Member

    Ok, thanx.
     
  8. Digital Doctor

    Digital Doctor Well-Known Member

    That's the best spot for it.
     
    erich37 and glorify like this.
  9. glorify

    glorify Well-Known Member

    That's what I thought too.
     
  10. erich37

    erich37 Well-Known Member

    would I also need to copy the Xen-IF statement in order to make this work properly?

    Code:
    <xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link recent-activity}">{xen:phrase recent_activity}</a></li></xen:if>
    
    Many thanks!
     

Share This Page