The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: User Restricted Area
PostPosted: Wed Dec 26, 2012 11:50 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Oct 18, 2011 12:45 pm
Posts: 23
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


Top
 Profile  
 
 Post subject: Re: User Restricted Area
PostPosted: Thu Dec 27, 2012 3:33 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Mon Nov 12, 2012 10:48 pm
Posts: 1120
Location: Winnipeg, MB
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.

_________________
I like working with Joomla :)
PM, Email, Contact Via Site, sitesrus @ Skype - Free Support
However any contact attempt without details as to why will be ignored...


Top
 Profile  
 
 Post subject: Re: User Restricted Area
PostPosted: Thu Dec 27, 2012 11:27 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Oct 18, 2011 12:45 pm
Posts: 23
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.)


Top
 Profile  
 
 Post subject: Re: User Restricted Area
PostPosted: Fri Dec 28, 2012 1:11 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Mon Nov 12, 2012 10:48 pm
Posts: 1120
Location: Winnipeg, MB
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.

_________________
I like working with Joomla :)
PM, Email, Contact Via Site, sitesrus @ Skype - Free Support
However any contact attempt without details as to why will be ignored...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 



Who is online

Users browsing this forum: AvengerXP and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group