Is there a way to hide the top sign in "module" on the top/right?

I love it, but one site will not need any log in. I tried to remove this by taking out that last area in the template.php file, but it breaks.

Any ideas are appreciated! Great theme.

jz

Comments

alex49201’s picture

This is a little bit hackish, but it works (well, i only tested in IE7)

In the style.css file, line 1619 add C style comments like such:

/* background-image: url(img/login_line.png); */

(if you're editor can't take you to line 1619 by number, try searching for "loginline" you'll find the line you need to comment about ten/fifteen lines below)

Then, you also need to modify the template.php file on line 179 to add a hash mark comment, like such :

# return $message;

Then add a line right under it like this:

return ""; (Thats two double quotes and a semi-colon.)

In that file, just scroll all the way to the end -- it's the very last return statement you need to fubar.

Also, like I said, this is a bit hackish.. but also will let you easily enable it later if you need too :)

discdemo’s picture

I'll try it. Thanks so much for the lifeline, Alex!

discdemo’s picture

This worked wonderfully, but when I view it in IE and not firefox, I see some stuff left behind...

you can see it in the top corner here:

http://www.no-way-dude.com/

Any ideas? It looks fine in FF.

Thanks, as always, for taking time out, when able.

jz

discdemo’s picture

I'm getting lines in my pages when I add tables via the html source option in tinymce. Someone mentioned hat it could be a theme css setting.

here's the site with the lines; just look at the images in the main area of the page, towards the top. The lines aren't there in preview, but show in display mode. I have no borders set...any ideas?

thanks! http://www.grandcanyontours4less.com

-jz

merseymal’s picture

to get rid of that IE stuff left by hiding the login at the top i went into the iestyles directories and in each of the two css files where they say

/*login line*/
#login {
right: 133px;
}

i changed the value of right to 1px and that removed it

hsh’s picture

A much easier way:

- find the correct page.tpl.php file, beware that there are 3 different folders under 'aboutpeople' theme. Took me 2 hours to realize this !!!
- Find the following and simply comment it out, like so:

<div id="loginline"> <!-- <?php print phptemplate_flat_login();?> --> </div>

You do not want to comment out the DIV because that little bit of extra space at top makes the template look nice :)

This would the "proper" way of doing it I suppose as I was not able to find any option through the Admin menu to hide the login links. Hopefully this helps someone out !