Warn users while browsing non-production server using Environment Bar plugin #MoodlePlugins

--- Advertisement ---

Connected 2023
Connected Conference OpenLMS

Moodle developers often works with multiple Moodle instances sometimes makes mistake in detecting the non-production environments. Nicholas Hoobin & Brendan Heywood has created a very simple and yet powerful plugin for all developers named Environment Bar which can save you from creating a havoc by identifying which server you currently reside on based on the URL.
The plugin named Environment Bar can warn users with a notification block across the top of the screen when you’re browsing a non-production server like staging or a local development box.

The plugin is available for all Moodle versions above Moodle 2.7 onwards and can be downloaded from the Moodle plugins database here.
You can also configure the bars in config.php file of your Moodle code by adding the code mentioned in the plugin documentation here.
What are the other methods to identify the production and development environment in Moodle? Do share with us in the comments below.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Dive Deeper On

The Latest

The eLearn Podcast

Connected Conference OpenLMS

--- Advertisement ---

Post Pages - Sidebar 4 - CourseMerchant

--- Advertisement ---

Post Pages - Sidebar 7 - Titus Learning

--- Advertisement ---

Post Pages - Sidebar 5 - Edwiser (RemUI)

Subscribe to our newsletter

Education technology has the power to change lives. 

To get the latest news, information and resources about online learning from around the world by clicking on the button below.