Book Image

Moodle 3 Administration - Third Edition

By : Alex Büchner
Book Image

Moodle 3 Administration - Third Edition

By: Alex Büchner

Overview of this book

Moodle is the de facto standard for open source learning platforms. However, setting up and managing a learning environment can be a complex task since it covers a wide range of technical, organizational, and pedagogical topics. This ranges from basic user and course management, to configuring plugins and design elements, all the way to system settings, performance optimization, events frameworks, and so on. This book concentrates on basic tasks such as how to set up and configure Moodle and how to perform day-to-day administration activities, and progresses on to more advanced topics that show you how to customize and extend Moodle, manage courses, cohorts, and users, and how to work with roles and capabilities. You’ll learn to configure Moodle plugins and ensure your VLE conforms to pedagogical and technical requirements in your organization. You’ll then learn how to integrate the VLE via web services and network it with other sites, including Mahara, and extend your system via plugins and LTI. By the end of this book, you will be able to set up an efficient, fully fledged, and secure Moodle system.
Table of Contents (24 chapters)
Moodle 3 Administration Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Configuration reference: administration settings


Each parameter in the Site administration menus can be configured via config.php. If a value has been set via this method, it is effectively hard-coded and cannot be changed via the Moodle interface, not even by the administrator.

For example, you might want to make sure that an administrator does not, even by accident, turn on HTTPS for logins. Activating this would lock everybody out of the site if no SSL certificate is installed. To do this, enter the following line in config.php:

$CFG->loginhttps=false;

How do you know what the parameter is called? Go to the respective setting in Moodle (in this case Security | HTTP security) and you will see the name of the parameter underneath the label.

Tip

You can search for any parameter in the search box of the Administration block.

If the value is specified in config.php, Moodle will display Defined in config.php beside the parameter, which indicates that the setting cannot be changed by the user. Invalid values are also shown for these hard-coded settings. In the following screenshot, the Debug messages value is incorrect while the Display debug messages value is correct:

If you wish to force plugin settings, you have to put them in a special array called forced_plugin_settings (see the reference to optional parameters later).