The Joomla 4 version of Advanced Module Manager is here, with a brand new Conditions system that can be shared by multiple modules and extensions, the ability to put Rules into Groups, and to combine different Matching Methods.

Advanced Module Manager is the Joomla extension that enhances the way your Module Manager works. With Advanced Module Manager, you can determine where your modules appear based on anything you want, including Categories, Dates, Users, Devices, Geolocation, Components, Templates, URLs, and much more.

Today, we're proud to announce the release of the brand new (and long-awaited!) Joomla 4 version of Advanced Module Manager (version 9.0.0), which is much more flexible than its predecessor, thanks to the new Conditions system.

Conditions System

Combining Condition Rules

Advanced Module Manager for Joomla 4 features a much more flexible Conditions system that you can use to determine if a module should show or not on specific pages or situations.

This Conditions system replaces the default "Menu Assignments" that comes with Joomla core.

Compared to the Joomla 3 version of Advanced Module Manager, where you had to individually select assignments for each module, in Joomla 4 you can now create re-usable Conditions Sets that can be shared by multiple modules, and even across different Regular Labs extensions like ReReplacer, Content Templater, and Conditional Content.

When editing a module's Conditions, you can decide to Edit the current Condition Set for the current module or for all modules that use the same Condition Set. You can also select another existing Condition Set to connect to the module.

This also means that the old Same as other module option that was present in Joomla 3 is now obsolete, as now you are able to create and map preset conditions across multiple modules. And if you want a module to show up on all pages opposite to a certain Condition, you can now use the rule "Other Condition Set", select the desired Condition, and mark it as Exclude.

Rules & Groups

The way conditions work for Advanced Module Manager is also a lot more flexible in the Joomla 4 version.

Instead of having to scroll through the page to enable rules, you can now specifically select your desired rules via a dropdown menu, adding more via the + Add Rule button, or removing existing ones via the - button.

This also allows you to re-use the same Rule type more than once, and you have the ability to combine different Matching Methods (AND/OR) by putting rules into Groups.

Condition Summary

When selecting rules in a Condition Set, a nice Summary will be displayed on the right, showing you a recap of where the module will appear on the site.

If no Condition Set is selected for a module, or if a Condition Set has no rules, the module will be shown on all pages of your website (that include the module position). As soon as you set one or more of the rules to Include or Exclude, the module will be limited to the pages/situations matching those rules.

Check out in the Documentation all the available rule types for Advanced Module Manager, with the respective settings for each.

Conditions Manager

Advanced Module Manager also installs the Regular Labs - Conditions manager component, which stores all the Conditions you connect to modules or other Regular Labs extensions.

From the Conditions Managers, you can view at a glance all the modules or items where you use each Condition across the Regular Labs extensions

You can also edit the Conditions from this view, with the ability to add a description to them and group them into categories as well.

Upgrading from Joomla 3 to Joomla 4

Upon installing Advanced Module Manager on a Joomla 4 site, any of the previous assignments from the Joomla 3 version will be automatically converted to the new Conditions system.

So all your modules should automatically follow the same rules you had in the Joomla 3 version of Advanced Module Manager, without you needing to tweak anything. If any issues arise with the migration, please report them to our Support Forum.

This is the process to upgrade Advanced Module Manager, just like any of the Regular Labs Extensions:

  1. First, make sure that your Joomla 3 site is updated to the latest Joomla 3.10 release
  2. On Joomla 3.10, update Advanced Module Manager to its latest version
  3. Upgrade your Joomla 3.10 site to Joomla 4
  4. Reinstall Advanced Module Manager on Joomla 4. This will upgrade the extensions to its Joomla 4 counterpart.

Other Regular Labs Extensions using Conditions

As mentioned above, the new Conditions system is also shared by other Regular Labs extensions, like ReReplacer, Content Templater, and Conditional Content.

This means you can create a Condition Set for a module, and also connect it to a ReReplacer item - for example.

As the Joomla 4 version of ReReplacer has already been released, starting today the new Conditions system is now live on ReReplacer as well!

The same upgrade instructions above also apply to ReReplacer.

Check out the Documentation

We hope you enjoy the newest version Advanced Module Manager in its Joomla 4 form!

Check out the full Advanced Module Manager Documentation for Joomla 4 for more details on all these changes and new features.

For any question, or issue you may encounter with the extension, feel free to head to our Support Forum.