How to make an area in boost dependent theme where we can move html blocks

How to make an area in boost dependent theme where we can move html blocks

by Ravi kumar -
Number of replies: 3
Hello Everyone,


How to make an area in boost dependent theme where we can move html blocks?

We can achieve the same thing by $OUTPUT->blocks_for_region('region-bottom') in clean theme.


Thanks in advance



Average of ratings: -
In reply to Ravi kumar

Re: How to make an area in boost dependent theme where we can move html blocks

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Take a look at my Handlebar theme as that has several block regions (sorry, on my phone right now, will try to provide links later) 

Richard

In reply to Richard Oelmann

Re: How to make an area in boost dependent theme where we can move html blocks

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

https://moodle.org/plugins/theme_handlebar

https://github.com/roelmann/moodle-theme_handlebar

If you look at https://github.com/roelmann/moodle-theme_handlebar/commit/2b1f30e53bf9ca2564b82b0df3400236b416f2c7 you will see all the files that need to be looked at - however, that particular commit was for the off-canvas modal block pages, look through the files for side-top region to see a block region in the main layout. Of course Boost already has side-pre, so you can also follow the code through for side-pre in boost itself.


Richard

In reply to Richard Oelmann

Re: How to make an area in boost dependent theme where we can move html blocks

by Ravi kumar -

Hi Oelmann,


I want to make an area in frontage of  boost dependent theme where we can move html blocks, in

dashboard we can able to move html blocks but in FrontPage 'html or other blocks' can not  be moved.


Thanks for reply