How to hide a module after login in Joomla 3.1

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

2 thoughts on “How to hide a module after login in Joomla 3.1

Was this article helpful? Join the conversation!