I am currently looking at the file under mod_login\tmpl\default.php
Main Topics
Browse All TopicsHello,
What I am trying to do is help the non-profit company that I work for create a intranet with Joomla that will help us to serve needed information to our employees better. The issue that I have is that the I am trying to incorporate our current naming scheme that the employees use but the problem is that every department uses the same user name naming scheme starts over with each department. What I need help with is on the login form I need the username name, password and department selection field. When the user fills in the form and selects the department the form then checks that all three are correct. I know that I have to edit the users table in the database but I do not know what to do with the form. Could someone please help me with this... Thanks in advance!!!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I am currently looking at the file under mod_login\tmpl\default.php
is your company/organization using active directory to authenticate the users to their desktop?
Is there a problem with just giving each person a different username? and the same password for each department...or are you trying to group by department for front end reasons?
Also can you please provide an some examples of the usernaming mentioned in quote below.
"""The issue that I have is that the I am trying to incorporate our current naming scheme that the employees use but the problem is that every department uses the same user name naming scheme starts over with each department."""
I don't think that the "accepted solution" in this thread actually provides an answer. For example, the original author rejects the accepted solution and states that they are looking to use community builder, but does not report back. Could somebody please provide a solution, and state if community builder will provide multiple fields on a login form (e.g. username, password, and userreferencecode, for example).
Business Accounts
Answer for Membership
by: spoxoxPosted on 2008-06-23 at 12:18:36ID: 21849363
Structural database changes can create problems later when patches or upgrades are released. If possible, you might want to avoid them.
Can you access your existing security system using PHP from the Joomla server? That would eliminate the upgrade problem. The mechanism behind the scenes (last I checked, Joomla! 1.0.xx) will validate against the login table once. The session stays alive by maintaining a cookie and a row in the jos_session table. So altering the Joomla! login module (mod_login I believe) to confirm the login by referring to an alternate database might be simpler.