• 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

kforo

Active member
#1
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)


 

Onimua

Well-known member
#2
Look under PAGE_CONTAINER. Look for this:

HTML:
<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" />
</xen:if>
Right below the <body> tag, insert what you want there and it should be fine. :)