Loading...
JoomlaJoomla 1.6Joomla 1.7Joomla ComponentsJoomla ModulesJoomla SetupJoomla Tutorials

Joomla 1.7 Extensions – How to Hide Modules from Registered Users

5 Easy Steps Joomla How to Hide Module from Users who are Logged in

Here is a component that I found extremely helpful to hide modules/menus from users who were logged in.  This free Joomla 1.7 extension is called “MetaMod” and can be found at http://www.metamodpro.com.  I’ve used it extensively in my Joomla websites and it does work.   MetaMod is highly configurable where you can choose to show or hide your Joomla module based on factors such as:

  • By Date
  • By Time
  • Re-occuring time
  • GEO IP (country of Viewer)
  • Browser Type
  • Browser Lanague
  • User name
  • User Group
  • Domain
  • Referrer
  • Time Zone

Below I will show you how to install and configure it to work on your Joomla website.

Overview of what needs to be done:

  1. Download free Metamod from their website
  2. Install MetaMod via the Extensions Manager
  3. Create new module for module to be hidden in Module Manager
  4. Create new Metamod Module for module to hide for registered users in Module Manager
  5. Test

For example, In Beez_20 I want to show a module called “Cmsmind.com Member News” only to users who are logged in on the left navigation bar.  Ie Position-7.

1.  Download free Metamod from their website

Joomla 1.7 Download MetaMod Module
Joomla 1.7 Download MetaMod Module

Download the module from their website.

  • Go to http://www.metamodpro.com
  • Find the MetaMod Free Download Link
  • Save the file ‘mod_metamod-3-6 for Joomla 1.6/1.7’ as a zip file on your computer
  • Do NOT unzip the file

 

2.  Install MetaMod via the Extensions Manager

Install the Module on your Joomla 1.7 website

  •  Login to your Joomla 1.7 Administrator Panel
  • Click on Extensions, Extension Manager, Install tab
  • In the “Upload Package File”, Package file, select the ZIP file you downloaded in step 1.
  • Click on ‘Upload & Install’
  • You will see a message that says :

Installing module was successful

A module that allows selective inclusion of other modules, depending on time, date, GeoIP-based Country lookup, and any other factors.

 3.  Create new module for module to be hidden in Module Manager

Joomla 1.7 - Metamod Create new Module
Joomla 1.7 - Metamod Create new Module

Create a new module that will be hidden and positioned in a custom module position.

  •  Click on Extensions, Module Manager, New, Module Type = Latest News
  • In the Module Manager : Module Latest News, Details,  Fill in the following values:
      • Title = Cmsmind.com-Member News
      • Show Title = Hide
      • Position = metamod-position
      • Status = Published
      • Access = Public
      • Module Assignment = No Pages
  • Click on Save & Close
  • Look at your module ID, in the right right column of the table you will see a number.  Mine is showing 80.  Remember this number as you will need it for the next step.
Joomla 1.7 - Metamod Create new Module ID
Joomla 1.7 - Metamod Create new Module ID

4.  Create new Metamod Module for module to hide for registered users in Module Manager

Joomla 1.7 Create MetaMod Module - Hide from Registered Users
Joomla 1.7 Create MetaMod Module - Hide from Registered Users

Create the MetaMod module to enable hiding or unhiding of the module based on different factors.  You can customize this module to your liking.

  •  Click on Extensions, Module Manager, New Module, Module Type = MetaMod
  • In the Module Manager: Module MetaMod, fill in the values:
      • Title = CmsMind.com – Member News
      • Show Title = Show
      • Position = position-7
      • Status = Published
      • Access = Public
      • Show  Quick module(s) to = Logged in users only
      • Module Assignment = On all pages
      • Quick module position = 80
  • Click on Save & Close

Joomla 1.7 MetaMod Quick Module Position or ID

Joomla 1.7 MetaMod Quick Module Position or ID

5.  Test on the Joomla 1.7 Frontend

  • Access your Joomla 1.7 frontend
  • You will not see the “CmsMind.com Member News” module as a guest
  • Login as a registered user
  • You will see the “CmsMind.com – Member News” show up on the navigation bar – position-7.

Thanks,

Elaine

2 comments
  1. Johnny Bravo

    Hi Elaine,

    I’affraid you’re describing what can be done just with setting access of the module to “registered” in module configuration.

    I found this article while looking for the opposite way, how to make module disappear when user log in, nevermind, nice website 🙂

    Cheers

    1. Elaine

      Hi Johnny,
      Yes you can hide your module if you set it to Registered. But with the Metamod module you can hide your module based on a few other factors such as:
      By Date
      By Time
      Re-occuring time
      GEO IP (country of Viewer)
      Browser Type
      Browser Langauge
      User name
      User Group
      Domain
      Referrer
      Time Zone
      Thanks for your comments and your visit.
      Best regards,
      elaine

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha Captcha Reload