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: ...

Get Moodle 3.x Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.