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:

    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

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

Like this Article?

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!

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?

9,965 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
n/a Points
2014-08-22 5:00 pm

Hi, i choose Guest from the acces level in the menu, but when a refresh the page, the menu dessapear even if i'm not loggued in :S

why could this happen?

16,237 Points
2014-08-22 5:48 pm
Hello Juanita,

Thanks for the question. Without knowing how your Joomla is setup, the cause to your module showing not appearing after you have assigned it to a specific group could be few different possibilities. I would double-check to make sure that you are not logged in through a cached page (clear the browser cache. Also, double-check your "guest" user and make sure it is assigned properly in the Users Module. Lastly, look at the module you where you modified the access - make sure it is set correctly, saved and published. If it continues to be a problem, we would need further information about your site. A URL would help, as well as the exact steps you're taking when assigning the user values to the module.

Arnel C.

Post a Comment

Email Address:
Phone Number:

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

4 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


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:
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!