O'Reilly logo

Moodle 3.x Developer's Guide by Ian Wild

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Page layouts

Your theme config.php file can be used to specify page-specific layouts. As discussed in Chapter 6, Managing Users - Letting in the Crowds, our client requires that learners log in via WordPress, rather than directly into Moodle, although we will still need Moodle admins to be able to log into Moodle. To this end, some refactoring of the Moodle login page is required. The following is the wireframe agreed by the client:

This is a simple login page with most page decoration (headers and footers, for example) stripped away.

To implement a new login page layout, we first need to add a new layout script to the theme's /layout folder: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required