First, I'd like to apologize to Nic for being a dumb*ss I didn't realize there were any manuals available for joomla and I lacked a basic understanding of how it worked. When I found what documents exist, I read through most of them and it helped immensely.
I reinstalled Joomla into my root this time. Also, I am using a template that puts the "main menu" into tabs across the top horizontally. What I wanted was a simple login page in my root directory, so that anyone that comes here must log in before viewing anything. But, now with Joomla in the root directory, I ended up trying to put the login into the first tab shown, which came out pretty nice.
It was really simple to do this. Plus, it allows you to add text to it, so it's pretty much the same as Nic's "convoluted" method above.
Quote:
1. Create “Link – Component” to “Login Form” in main menu and set it to position one. Make sure all the private areas in the main menu are set to “registered”.
It's a neat effect when you log in and all the other tabs appear.
Okay, but I wasn't satisfied with this method because the Login tab never goes away! You can redirect to another page (I redirect to my Home [Frontpage]) when they log in, but the Login Tab stays put. It would be better if it turned into a very small LOGOUT button someplace else.
Anyway, I tried to adapt Nic's method above to my needs to see if it helped and here's what I came up with. (Remember, I don't want anyone to have to go to
http://www.mydomain.com/login in order to log in. I just want it there when you type the main domain.)
Quote:
1. Create a static content item "Login" with some introductory text
2. Create a "Link - Static Content" menu link for that new static content item in the main menu and place it in position 1.
3. Go to "Modules" and assign the "Login Form" Module to that new static content item
4. Assign the "Login Form" Module to a module position that is not in use by any other modules (e.g. user9)
5. Edit your template's index.php file and add right below the
This ended up creating the exact same thing as the easier method. I may have more control over the layout now, though, so that's a positive step forward. I haven't had a chance to really play with it yet. But, the tab still stays there when you're logged in. So, am I totally barking up the wrong tree here? Is there any way to do what I'm trying to do?