Fixed Conversations when sub-navbar is disabled

Discussion in 'Closed Reports' started by Estranged, Feb 26, 2017.

  1. Estranged

    Estranged Customer

    So if subnav bar is disabled, the features such as "starrred conversations" are missing?
     
  2. Steve

    Steve Designer

    Going to move this to bugs - The issue is there is no selected tab to house those links when the subnav is hidden. Not sure what we can do to remedy that until we have a closer look.
     
  3. Estranged

    Estranged Customer

    I think a workaround should be found for this issue. May be enable the sub navbar only for conversations?
     
  4. Russ

    Russ Designer

    I've applied a fix for our next release. If you want to apply the fix yourself, on your xenbase style open the template: conversation_list

    Find:
    Code:
    Copy Source
    <xen:pagenav link="{$pageRoute}" page="{$page}" perpage="{$conversationsPerPage}" total="{$totalConversations}" linkparams="{$pageNavParams}" />
    Replace with:

    Code:
    Copy Source
    <div class="pageNavLinkGroup">
       <xen:if is="@xb_nav_disablesub">
       <div class="linkGroup">
           <a href="{xen:link conversations}">{xen:phrase conversations}</a>
           <a href="{xen:link conversations/starred}">{xen:phrase starred_conversations}</a>
           <a href="{xen:link conversations/yours}">{xen:phrase conversations_you_started}</a>
       </div>
       </xen:if>
       <xen:pagenav link="{$pageRoute}" page="{$page}" perpage="{$conversationsPerPage}" total="{$totalConversations}" linkparams="{$pageNavParams}" />
    </div>
    This essentially adds the links to where normally like "watch thread" would go if the sub-nav is disabled.
     
    Estranged likes this.

Let's work together on your next project

Contact us today to talk about how we can help you