Here's what I want:

A simple link at the footer of my page that says "log in." When the user clicks that, I'm deciding on either it pops up a script-like window to input user and pw, replaces the "login" link with the user and pw input spaces, or pops up a separate page to login. Main main problem right now is just figuring out how to make a link to the login block...

I just want the login to be kind of discreet. I am imagining there would be a simple print blabla command I could do that would just print a link like that, but with my luck I doubt it's that simple... Perhaps there is a module that controls such output?

Let me know if you guys have any ideas.

Thanks in advance,
- Danielsan

Comments

rogerpfaff’s picture

make a link to http://www.example.com/user

edit: this will make the link appear all the time. there are some more sophisticated approaches too if you want.

------------------------------------------------------
Remember: I compute you!

angu57oung’s picture

Ok, I linked to "/drup/user" but when I click the link nothing happens... Do I need to set the target to something???

www.stillugly.com/drup is the site. Login is in the Lower Left.

vm’s picture

part of your problem is that you have a path pointing to drup/user/index.html as seen on some of the links in your content.

where is that path being generated? the index.html needs to be dropped off.

angu57oung’s picture

Yeah, I tried that and it just brings up a big 404 error page.

angu57oung’s picture

Ah, that's just the links on the page which I'm not worried about right now. I set the login to http://www.stillugly.com/drup/user which is the usual URL I use to login... When I click login it actually loads the URL into the browser bar, but the page doesn't change... It seems like I need to specify that it loads into one of the page regions or something like that or set a certain target value for the link... I'm not sure...

vm’s picture

On every one of my sites if i point to mysite.com/user it pulls up the login form like http://drupal.org/user (assumes you aren't logged in, otherwise it takes you to your profile)

your site is in a subdirectory. what is set as the $base_url in settings.php ?

angu57oung’s picture

Ooooooooooooook. I just figured it out hahahaha. I had to take the www out of the link hahaha. Well that's too easy! Haha. Thanks for your help! I really appreciate it guys.

- Daniel

vm’s picture

use standard html linking to yoursite.com/user

m4manas’s picture

Try Thickbox Module of Drupal.

You can hide the login from the Block and Let ThickBox handle the login process. You can place a discreet link of login either by way of an image or say login or any words and point to http://yoursite.com/login The Thickbox will take over and do the login process.
http://drupal.org/project/thickbox

http://m4manas.wordpress.com
http://www.taxlaw.co.in
http://www.caselaw.co.in