Discreet Front End Login For Joomla Admins

Joomla Front End Login So, you have a Joomla web site and you wish to grant front end admin access for editing articles, etc. The site is set up with no visible login area for the front end. Basically a display-only site with no need for memberships, thus the login module option is unpublished.

So how do you get in without a login area? The solution is insanely simple. No additional plugins or coding are required.

For this article I’m going to assume Joomla 1.5 with native SEF URL’s enabled.

First, login (back end) and head to ‘Content->Article Manager and create a new article. Simply call it ‘Login’ and give it the alias of ‘login’. Sections and categories don’t matter. Set the access level to ‘Special’ (administrator) and enter something like, “Thank you for logging in” in the text area. Save it.

Joomla Front End Login

Next, head to the menus. It really doesn’t matter what menu you put this on, just as long as it’s published. So, select the Main Menu for example. Create a new menu item of type ‘Articles->article layout’

Joomla Front End Login

Give it the title of ‘Login’ and alias ‘login’ with the ‘Special’ access level. Link it to the article we wrote in the step above. Fill in any other required info and hit save.

Now if you try to read that article directly (go to http://www.example.com/login) you do not have access to see since it requires ‘Special’ Access. Joomla will then automatically prompt you for a login. (Told you it was simple)

If you have a different method of URL rewriting, you may have to make both the menu and article ‘Public’ access temporarily. Go to the site, click the login link, then record the URL of the article AFTER you’re logged in. Reset both menu and article back to ‘Special’ after you’re done. This recorded URL will be your login page.

So, what are you waiting for? Login! That’s it. Done.

In the last several weeks I’ve been working with Joomla quite a bit. Expect to see additional posts on this CMS coming up.

  • dsided

    Good article, another method is to use sh404SEF rewrite make a link from yourdomain.com/login to /index.php?option=com_user&view=login

  • http://www.tornelements.com LarryMonte

    I'm sure there are a few ways to do this.

    This method was drop dead simple and only requires a couple of back end edits.

    Also I'm not a huge fan of plugins. (For any CMS) I use a few with semi-confidence, but I tend to favour solutions that don't require them. :)

  • http://danielbaggio.blogspot.com/ Daniel

    Thank you, man!

  • http://kieransampson.com Kieran Sampson

    Just what I needed. Works great! Thank you!

  • http://kieransampson.com Kieran Sampson

    Just what I needed. Works great! Thank you!

  • http://www.shonacreative.com.au/ Shona

    Great! Thanks!! Really simple.

  • Name

    Love the solution, but now how do you log-out so the edit icons aren't showing up for each article?

  • http://www.tornelements.com LarryMonte

    By default there's a logout link in the User Menu. Make sure that module is published. Or you can just let the session expire (15 mins by default) ;)

  • DesignJoe

    Thanks for this tip. Unfortunately, it doesn't work for me. The “To access the private area of this site, please log in.” page appears, however it doesn't have the needed fields to enter the username, password or a submit button. Any thoughts? Thanks, again!

  • http://www.joomlatechnologies.com/ joomla technologies

    perfect!!
    Much easier and secure

  • http://seopilot.ru/ seopilot

    Thank you this nice post.

  • http://www.expertsfromindia.com/csharp.htm Hire Dedicated C# Developers

    thanks for posting this.

  • http://www.discount-nike-dunk-shoes.com nike dunk shoes

    Hhe article's content rich variety which make us move for our mood after reading this article. surprise, here you will find what you want! Recently, I found some wedsites which commodity is colorful of fashion.
    http://www.scarf8.net

  • Test

    Thanks so much!

  • Jrickard

    How do you setup the logout function?

  • White Time

    You are wonderful!

  • Cra2

    Maybe I’m missing something but when you give the “login” article the required section and category, that becomes part of the URL. So I can’t tell the users to go to http://www.example.com/login. Instead it has to be http://www.example.com/section/login. Which is not desirable but maybe I’m missing something?

  • http://www.tornelements.com LarryMonte

    Hi there,

    Wow! It’s been 2 years since writing this. Having not worked with Joomla since, I’m shy about giving advice. I haven’t even looked at Joomla 1.6 yet…

    However, I did use the /login as an example but also mentioned that depending on your URL configuration, that link may vary. In your case it does. I think you need to play with how URLs are written. I don’t even have a running Joomla install to check this with, but I recall there was a way to ditch the section/category from being written to the URL. Perhaps start there.

    Sorry I could be more help.

  • JackX

    this helped me a lot can u tell me how to logout once u have logged in in the fron-end

  • http://www.facebook.com/profile.php?id=680057579 Jean-Louis Paquay

    @JackX, once logged in, your login module will appear at the postion/page you have set him to appear, and from there you can logout

  • David J

    Now that is clever and simple! Thanks 

  • http://webserwer.pl/ dobry hosting

    Since J 1.6 you can create a new menu item of login type. There’s also a free extension in JED, which will add new menu type “logout”.

  • http://webserwer.pl/ dobry hosting

    Since J 1.6 you can create a new menu item of login type. There’s also a free extension in JED, which will add new menu type “logout”. Just set this menu item visible only for logged users ;)

  • http://mayaobrien.webnode.com/ AmosDavid

    Really like the remedy, but now how do you log-out so the modify symbols aren’t displaying up for each article.