Come on bro, stop nagging us! How to hide Regular Lab's Version Check notification in Joomla modules. Updated for 2021.

Regular Lab's Advanced Module Manager is a great tool, both the free and pro versions. A client of ours was running an older version and we were asked to do some emergency work for them.

regular labs advanced module manager version check

As we churned through several dozen modules, it became quickly apparent that Regular Lab's automatic version check notifications in Joomla's Modules component was really getting in our way. It'll move the module list down as you try to work.

Hide with CSS

Go to your administrator folder and look for your Isis template css file at: /administrator/templates/isis/css.

Add the following to the top of the css file, replace/refresh it in your remote location and the flag will be gone!

#regularlabs_version_advancedmodulemanager, .rl_footer { display: none !important; }

We noticed that the tag was inside a commonly called div named "j-main-container." This tag is used in several dozen files within Joomla. We needed to narrow it down to just the file where Regular Lab's Advanced Module Manager was using it to inject the version notification.

Older versions

We used the following command in the terminal (this server was Ubuntu 18.04 LTS): grep -rlw "j-main-container" /usr/share/nginx/html/.

We simply ignored everything in the shell search result that didn't have one of the phrases used by Regular Labs within the /administrator location. There was only a single match.

To hide the Version Check notification search around line 67 within the file default.php file located at /administrator/components/com_advancedmodules/views/modules/tmpl/.

The code you would modify is right under the main "j-main-container" id tag. Start immediately under the <?php tag and simply comment with // everything between Version check comment and the closing ?>.

It'll look something like this when you are done changing it:

< ?php
// HIDE Version check
// if ($this->config->show_update_notification)
// {
// echo RL_Version::getMessage('ADVANCED_MODULE_MANAGER');
// }
?>

Joy, no more annoying upgrade prompt! You should keep in mind whenever you make core modifications like this, even within an extension, any future updates will remove your customizations. Normally an override would be required for long term/permament modification.




If you have an existing website that you want to bring into the 21st century we can help! We specialize in responsive-conversions and site modernization (not just new or complete rebuilds). Give us a call at (559) 242-6647, send us an email or send a SMS now to get started, get mobile and start great things!

 

About the Writer
Chris Lessley
Author: Chris Lessley
A server admin, dev ops warrior and website designer since 2002, Chris is a lover of all things Linux and open-source! Each blog topic has been tested by fire in the real world and shared with the hope to help others. Need more help? Hire me! Chris' other interests include fine art and the humanities in the classical tradition and can be found writing for our friends over at gripfastart.works. If you like this content, kindly consider donating to keep this website free to all, without ads.

Comments powered by CComment

Member of The Internet Defense LeagueOpen Source Initiative