Page 1 of 1

User Restricted Area

Posted: Wed Dec 26, 2012 11:50 pm
by kevin777
Hi, I'm sorry that this question has probaly appeared many times but,

I'd like to add a page that is restricted to users, but in this way:

The page can be accessed by a menu item that is visible to all users and the page can be viewed by those who are logged in, and for those that aren't it shows a login form that once [properly] filled it will show the page.

Is it possible? If so how can I do this?

Thanks a lot

Re: User Restricted Area

Posted: Thu Dec 27, 2012 3:33 pm
by sitesrus
Yes.

If you are linking to an article...which you should just restrict the user access group. The menu item can be visible and accessible by all, but once they hit the restricted article they will be prompted to login or restricted access.

You can also make a "guest group" so for all guests you can display a login module on the page and make it dissapear if someone is logged in or logs in using it to achieve the effect if joomla doesn't already work that way.

Many things are possible with joomla.

Re: User Restricted Area

Posted: Thu Dec 27, 2012 11:27 pm
by kevin777
Ok,i have these settings, which means:

Article restriced to the ''registered'' group
Menu item set to ''public''

With this configuration, though the menu item is visible, the article is not visible (in the case one is not logged in) but there is no login module or message, the page appears blank (template is conserved, but there is no article header, text, ecc.)

Re: User Restricted Area

Posted: Fri Dec 28, 2012 1:11 pm
by sitesrus
If you don't get messages than system messages are off or not supported on your 3rd party template.

You shouldn't see the article than if you're not logged in, that's correct behavior.

I suggest creating a guest user group and adding the login module to the page/menu link in question. By using this new guest group for the module, only guests will see it. This will give you your desired results.

I already suggested this solution.