Add block area to /login/signup.php

Add block area to /login/signup.php

by Alex M -
Number of replies: 0

We want to give the admin the possibilty to add a block (images and text) to on top of the signup page.

I believe I could extend the theme and add a block area.

For example in 

public/theme/lambda/layout/columns1.php by adding 


<?php echo $OUTPUT->blocks('hero');?>

But this is not enough to initialize the block editor and to actually insert a block.

Do I have to register this region somewhere?

I guess I have to registert also a specific page type?

Is this even working, as signup.php does not seem to have a course context (like the main page does)?

Any pointers are appreciated.

Thanks, Alex

Average of ratings: -