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

XF 1.1 Particular phrase missing but still there

Discussion in 'Troubleshooting and Problems' started by Luxus, Jul 4, 2012.

  1. Luxus

    Luxus Well-Known Member

    If you click at the "What's New?" link and no new content is there you get the message "You have no unread threads. You may view all recent threads instead". The phrase for this is "no_unread_threads_view_recent".

    I have searched the templates for this phrase but with no result. This means that it's not produced with {xen:phrase no_unread_threads_view_recent}, but somehow else. So does anyone know where this phrase comes from?
     
  2. Bob

    Bob Well-Known Member

    /library/XenForo/ControllerPublic/FindNew.php Line 175

    PHP:
                return $this->responseMessage(new XenForo_Phrase(
                    
    'no_unread_threads_view_recent',
                    array(
    'link' => XenForo_Link::buildPublicLink('find-new/threads'false, array('recent' => 1)))
                ));
     
    Luxus and Jake Bunce like this.
  3. Luxus

    Luxus Well-Known Member

    Oh I see. It's coded in a core file. I wanted to wrap up the phrase with a div, but now it's best to use HTML directly in the phrase. Thanks :)
     

Share This Page