In our Joomla 3.0 testing site, we have the following custom HTML module showing in our right sidebar:

Become a Registered User
Register for an account on this website to gain access to all features that we offer

We don't want our registered and logged in users to see this message, as they're already registered. How do we hide this module after login? Keep reading to find out.

How to hide a module when a user is logged in

  1. Log into your Joomla 3.0 dashboard
  2. In the top menu, click Extensions and then click Module Manager
  3. In the list of modules on the page, click the module that you don't want to show for logged in users
  4. In the list of settings on the page, find the Access setting:

    Access
    The access level group that is allowed to view this item.

    The default setting is Public, which is everyone that visits your site. This includes both guests and logged in users. To hide this module for users logged in, change the setting value to Guest, which means only guests will have permission to view it. Click Save in the top left of the page to save your settings.

    In the screenshots below, both are taken as a logged in user. One screenshot represents when the Public Access is set, and the other shows the Guest Access set.
    Access: PublicAccess: Guest
    module-showing-for-logged-in-users joomla-hide-module-when-logged-in


Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Comments

Post a comment
n/a Points
2014-07-10 6:40 am
You are saying to choose 'guest' but I don't have such option. Do I need to create this?

Thanks
Staff
9,521 Points
2014-07-10 10:37 am
Hello Navdav,

The Guest group should be a default unless you've removed it. You should be able to navigate to Users > User Manager in the Joomla admin, and then click on User Groups on the right hand side too see all the available ones.

I'm seeing this in a default Joomla 3 installm:

Joomla user groups guest group is default

If you don't see this, you should be able to click on + New still in the User Manager > User Groups section. Select Public as the parent of this group and name it something like Guest.

Then click on Viewing Access Levels from the left-hand side. Click on the Guest level, and then under the User Groups Having Viewing Access place a check-mark beside the Guest user group you created.

Please let us know if that helps!

- Jacob

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 200949

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!