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

XF 1.2 Move visitor tabs to modbar

Discussion in 'Styling and Customization Questions' started by Dynamic, Jul 14, 2013.

  1. Dynamic

    Dynamic Well-Known Member

    Hello,

    On xf 1.x I used this tutorial to move my visitor tabs to the modbar. I have now upgraded to xf1.2 and this is buggy.

    Most things work normally with the exception of two things.

    1) Alerts show up in both the normal alerts tab, but also near the username.

    2) Secondary navigation moves to the modbar when you are in your conversation page. This is annoying as it breaks the design.

    Does anyone know how to fix this?

    EDIT: I still want the visitor tabs in the moderator bar.

    Thanks.
     
  2. Dynamic

    Dynamic Well-Known Member

    Anyone have any idea with this? @Jake Bunce?

    Thanks.
     
    Last edited: Jul 14, 2013
  3. Forsaken

    Forsaken Well-Known Member

    Re-do the steps and check if you missed anything; this works fine in my framework, and that isn't much different than what I used in the tutorial.
     
  4. Dynamic

    Dynamic Well-Known Member

    Hey @Forsaken,

    Thanks for the reply. I checked everything and still the same thing. The navigation moves to the modbar without a problem, but when in the 'conversations' page, the secondary navigation also moves to the modbar :/ It seems to be the only page that does it.

    Any ideas?
     
    Last edited: Jul 15, 2013
  5. Dynamic

    Dynamic Well-Known Member

    Anyone having luck with this? It is still not working for me in the conversations page. Everything else is fine.
     
  6. Dynamic

    Dynamic Well-Known Member

    Okay, I figured it out. Just for anyone else who may be having the same issue.

    navigation_visitor_tab

    Select this code.
    Code:
    <xen:if is="{$tabs.inbox.selected}">
        <li class="navTab selected">
            <div class="tabLinks">
                <ul class="secondaryContent blockLinksList">
                    <li><a href="{xen:link conversations}">{xen:phrase conversations}</a></li>
                    <li><a href="{xen:link conversations/starred}">{xen:phrase starred_conversations}</a></li>
                    <li><a href="{xen:link conversations/yours}">{xen:phrase conversations_you_started}</a></li>
                </ul>
            </div>
        </li>
        </xen:if>


    Then comment it out.
    Code:
    <xen:comment>
    <xen:if is="{$tabs.inbox.selected}">
        <li class="navTab selected">
            <div class="tabLinks">
                <ul class="secondaryContent blockLinksList">
                    <li><a href="{xen:link conversations}">{xen:phrase conversations}</a></li>
                    <li><a href="{xen:link conversations/starred}">{xen:phrase starred_conversations}</a></li>
                    <li><a href="{xen:link conversations/yours}">{xen:phrase conversations_you_started}</a></li>
                </ul>
            </div>
        </li>
        </xen:if>
    </xen:comment>
     
    tafreehm likes this.

Share This Page