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

how to insert content above the login/signup bar

Discussion in 'XenForo Questions and Support' started by kforo, Feb 17, 2011.

  1. kforo

    kforo Active Member

    could someone tell me what template needs to be altered to enter content above the login/sign up bar. The same can be said if the person were logged in. So, above the moderation alerts - if the person were staff, but also above the login bar if the person weren't signed up. Essentially a way for everyone to see the content - always hugging the top of the browser window.

    Pic to help illustrate it, if the text doesn't make sense. I've messed with various templates I thought would do it, but it just made a mess of my background images, logo/breadcrum (maybe that will all have to be repositioned or altered if I'm already in the right template)

  2. Onimua

    Onimua Well-Known Member

    Look under PAGE_CONTAINER. Look for this:

    <xen:if is="{$visitor.is_moderator} || {$visitor.is_admin}">
        <xen:include template="moderator_bar" />
    <xen:elseif is="!{$visitor.user_id} && !{$hideLoginBar}" />
        <xen:include template="login_bar" />
    Right below the <body> tag, insert what you want there and it should be fine. :)
    kforo likes this.
  3. kforo

    kforo Active Member

    haven't tried this yet, but looked at the template in admincp - thank you so much. This should be what I need.

Share This Page