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

XF 1.4 "Last 3 days" link

Discussion in 'XenForo Questions and Support' started by Cheesegrits, Jul 28, 2015.

  1. Cheesegrits

    Cheesegrits Active Member

    I recently updated from 1.1 to 1.4 (yeah, I know!), which went a lot smoother than I had feared. Just one little problem. In 1.1 I used to have a "Last 3 days" quick link on the Forums menu, along with the usual "New Posts", etc. I can't remember if this is something that 1.1 came with out of the box or I added by customizing a template.

    I really miss that link. Any pointers on how to get it back?

    -- hugh
  2. Jeremy

    Jeremy Well-Known Member

    That was most definitely a custom addition; which I believe was posted here somewhere.
  3. Cheesegrits

    Cheesegrits Active Member

    Yeah, I have a vague memory of doing it, but I've been searching here like crazy, can't find it.

    Guess I'll have to actually use my brain and build it from first principles.

    Sigh. Thinkin' is hard.

    -- hugh
  4. Cheesegrits

    Cheesegrits Active Member

  5. Cheesegrits

    Cheesegrits Active Member

    For anyone stumbling across this thread looking for the same thing, the modification you need in the forums section of the navigation template is:

            <li><a href="{xen:link find-new/threads, '', 'days=3'}" rel="nofollow">{xen:phrase last_x_days, 'count=3'}</a></li>
    ... and add a phrase for last_x_days as "last {count} days".

    -- hugh

Share This Page