How to Set Pagelayout on Moodle

You can set layout to be embedded. The pages with embedded templates would be without header and footer sections:

$PAGE->set_pagelayout('embedded');

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.