Re: Re: Re: Include Login Box in the top bar
> So silly of me not to think of that.
>
> I do face another problem in using the inline login-box module. Now the home page displays two login-boxes - one in the body and another login-box module on the top bar. Any way to control the login-box module at the top bar not to show up only on the home page but display after you logged in?
>
Try this:
Copy to clipboard
{if !$user} {include file="modules/mod-login_box.tpl"} {/if}
Now the login module will appear only when user is not logged in.
> I reckon it to be similar to the serach box display in the top right corner Planetfall theme.
>
> Not too sure how difficult to code this but I like the way how this is being display. Maybe I am asking for too much........
>
> --kwow