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

XF 1.3 Inbox Dropdown; Go to latest post/page

Discussion in 'XenForo Questions and Support' started by OwenJames, Apr 19, 2014.

  1. OwenJames

    OwenJames Active Member

    Hi

    When the Conversations dropdown menu opens, when hovering over 'Inbox', a list of recent conversations appears.

    When clicking on the name of a recent conversation, we are taken to the first post of that conversation.

    Is there a way to change this, so that we are taken to the most recent post in the conversation?

    Thanks.
     
  2. Jeremy P

    Jeremy P Well-Known Member

    If it is unread it will go to the latest post, if it is read it will go to the first post.
     
  3. OwenJames

    OwenJames Active Member

    Oh, thanks for the quick reply and also the info. That sheds some light on it!

    So, given this, is there a way to make the link in the dropdown menu go to the latest post at all times, regardless of it being read or unread?
     
  4. Jeremy P

    Jeremy P Well-Known Member

    Edit the template: 'conversation_list_popup_item'

    Find:
    HTML:
    <h3 class="title"><a href="{xen:link "conversations{xen:if {$conversation.isNew}, '/unread'}", $conversation}" class="PopupItemLink">{$conversation.title}</a></h3>
    
    Replace with:
    HTML:
    <h3 class="title"><a href="{xen:link "conversations/unread", $conversation}" class="PopupItemLink">{$conversation.title}</a></h3>
    
     

Share This Page