Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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 3.x Developer's Guide

You're reading from   Moodle 3.x Developer's Guide Build custom plugins, extensions, modules and more

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781786467119
Length 368 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Jaswant Tak Jaswant Tak
Author Profile Icon Jaswant Tak
Jaswant Tak
Ian Wild Ian Wild
Author Profile Icon Ian Wild
Ian Wild
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Getting to Grips with the Moodle 3 Architecture FREE CHAPTER 2. Moodle Plugins - What Can I Plug In? 3. Internal Interfaces 4. Course Management 5. Creative Teaching - Developing Custom Resources and Activities 6. Managing Users - Letting in the Crowds 7. Creating a Dashboard - Developing a Learner Homepage 8. Creating a New Skin 9. Moodle Analytics Appendix

Theme plugin structure


Our work in this section is based on the Clean theme--see https://docs.moodle.org/dev/Clean_theme for details. The Clean theme provides the ideal starting point for learning about Moodle themes: as the name suggests, metaphorically speaking it provides the "scaffolding" (the framework)--and it is then up to us to cover the scaffolding with the "skin" (the look-and-feel). The Clean theme is itself based on a theme called bootstrapbase, with Bootstrap being the technology used to provide responsiveness. See https://docs.moodle.org/dev/Bootstrap for details on responsiveness (which is, basically, the ability of a web page to modify itself through CSS, depending on the size and type of device on which it is rendering).

In Eclipse, open the theme/clean folder:

Every theme will have a configuration file, config.php. This is arguably the most important script in a theme so we start our investigation with this. But before we do, let us go back to Eclipse and make a copy of the...

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 AU $24.99/month. Cancel anytime