Link to home
Start Free TrialLog in
Avatar of vfleary
vfleary

asked on

Password Protecting pages in Joomla

Hello!

I am working on a Joomla website that will be visited by members and web users alike.  The client has requested that I password protect certain pages so that if an outside user clicks on a link to that page - if they are not a member or not signed in, the content of the site will not show.  Rather they'll be given a message that says "This content is for members only" and then display the login form.  If they are signed in from a previous instance, they will just automatically see the page.

I'm reviewed a few component plugins out there and perhaps it's my lack of understanding, but they don't seem to cover all items above.

Any suggestions are greatly appreciated!!
Avatar of Gopinathan c
Gopinathan c
Flag of India image

please select the type in menu item to "Registered"

Public to Register
Avatar of vfleary
vfleary

ASKER

thank you rashgang -
this solves half the issue.  It does show the login module when you attempt to access the page.  However, upon entering your information - it shows you "Welcome to the registered user area of our site. "  instead of just revealing the content the person was originally trying to view.  

I'd like for them to sign in and then automatically have the content they were trying to view become available to them in the refresh.
How many pages are you going password protect?
In the login module you can configure which page you are redirected to after logging in.

The login usually works by showing menus etc that are for registered users only so you can select where you want to go after you have logged in, but you can choose which page is shown after you log in
Avatar of vfleary

ASKER

Thank you for this snowball77 - It's probably going to be a host of pages that I'll have to lock eventually.  Right now it is just the one.  But I'm pretty positive that the client has in mind the same kind of functionality for all future pages

webpage user --> clicks on a link --> the page that is linked to requires username and password --> user provides username and password -->  correct un/pw combination reveals the page originally linked to.

That's the ideal functionality I'm looking for as there won't be a proper "members only SECTION"  just a number of password protected pages.

ASKER CERTIFIED SOLUTION
Avatar of Amanda Watson
Amanda Watson
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This one may also have the ability to redirect users to the correct content after access
http://extensions.joomla.org/extensions/access-a-security/content-restriction/5371
SOLUTION
Avatar of lenamtl
lenamtl
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial