Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Moodle 2 Administration

You're reading from   Moodle 2 Administration Moodle is the world‚Äôs most popular virtual learning environment and this book will help systems administrators and technicians administer the system effectively. Based on real-world scenarios with plenty of screenshots, it‚Äôs an essential practical gui

Arrow left icon
Product type Paperback
Published in Oct 2011
Publisher Packt
ISBN-13 9781849516044
Length 420 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (24) Chapters Close

Moodle 2 Administration
Credits
About the Author
About the Reviewers
1. www.PacktPub.com
2. PacktLib.PacktPub.com
3. Preface
1. Moodle Installation FREE CHAPTER 2. The Moodle System 3. Courses, Users, and Roles 4. Course Management 5. User Management 6. Managing Permissions: Roles and Capabilities 7. Moodle Look and Feel 8. Moodle Plugins 9. Moodle Configuration 10. Moodle Reporting 11. Moodle Security and Privacy 12. Moodle Performance and Optimization 13. Backup and Restore 14. Installing Third-party Add-ons 15. Moodle Integration via Web Services 16. Moodle Networking Configuration Settings

Configuration reference administration settings


Each parameter in the Site administration menu 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 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.

If the value is specified in config.php, Moodle will display Defined in config.php besides 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 will have to put them in a special array called forced_plugin_settings (see Optional parameters section).

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image