Add a block block

Add a block block

by Brad Nielsen -
Number of replies: 1

Hi Everyone, I'm just trying to make it so in my custom Boost theme, that the Add a block block appears in the block column once other blocks have already been added to a Course. Do anyone know of a theme that achieves this that I could look at the code for...

I find the the lower left hand position of the Add a block button in Nav a bit hard to find. But for the life of me I can't work out how the Add a block block is being added in Classic and not Boost.

regards,

Brad

Average of ratings: -
In reply to Brad Nielsen

Re: Add a block block

by Mark Johnson -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

A search for "Add a block" in the code finds the lang string identifier "addablock", and a search for that suggests that you want to set $THEME->addblockposition in your theme's config. Boost sets this to BLOCK_ADDBLOCK_POSITION_FLATNAV while the default is BLOCK_ADDBLOCK_POSITION_DEFAULT.