Book Image

Moodle 1.9 Theme Design: Beginner's Guide

Book Image

Moodle 1.9 Theme Design: Beginner's Guide

Overview of this book

Moodle is a highly extensible virtual learning environment and is used to deliver online teaching and training materials. Theming is one of the main features of Moodle that can be used to customize your online courses and make them look exactly how you want them to. If you have been looking for a book that will help you develop Moodle Themes that you are proud of, and that your students would enjoy, then this is the book for you.This book will show you how to create themes for Moodle, change pre-installed Moodle themes, and download new themes from various resources on the Internet. It is filled with suggestions and examples for adapting classroom activities to the Virtual Learning Environment.This book starts off by introducing Moodle, explaining what it is, how it works, and what tools you might need to create a stunning Moodle theme. It then moves on to show you in detailed steps how to choose and change a Moodle theme, and explains what Moodle themes are and how they work. It shows you how to change an existing theme and test the changes that you have made.The latter half of this book will start you off on the road to creating your own themes from scratch. It provides detailed instructions to guide you through the stages of creating a stunning theme for your Moodle site. From planning theme creation, through to the slicing and dicing, and more advanced Moodle theming processes, this book will give you step-by-step instructions to create your own Moodle theme.
Table of Contents (18 chapters)
Moodle 1.9 Theme Design
Credits
About the Author
About the Reviewer
Preface
Glossary of Useful Terms and Acronyms

Checking our theme against W3C validators


Another useful thing to do is to check that what you have created passes some of the more important guidelines of World Wide Web Consortium (W3C). These have been set up so that web designers/developers create consistent code for their sites and that websites are accessible to all. In general, there are two different validators that you can use; these are HTML validators and accessibility validators.

HTML validators simply check your code against what has been decided upon as the correct way of coding HTML. With Moodle, you get to change only the header.html and footer.html files, so these are the only pages that will need to be checked.

Accessibility validators check that websites are accessible to people with disabilities, and therefore are important if your Moodle site is in the public domain.

Note

Remember, these validators will only work on publicly-accessible domains and will not work on a localhost installation of Moodle.

What validators do we check against?

The best way to test for accessibility is to check your theme against the Web Content Accessibility Guidelines (WCAG), but don't leave out the option of having disabled users actually test the site for you. In this circumstance, you could have valuable evidence if any legal issues arise.

If you want to check that your HTML is valid, then the W3C guidelines would be best.

Where can we find them?

Moodle has made it very easy to check both HTML and accessibility, through services provided by the W3C and HiSoftware Cynthia Says (accessibility). All that you need to do is log in as an administrator, and then navigate to Server | Debugging | Debug messages and choose NORMAL: Show errors, warnings and notices, as seen below:

When this is done, at the bottom of every page, there will be a new set of links that when clicked, pass the page's details on to the relevant validators. Give it a go and see what happens.