General developer forum

 
 
Picture of edu g
custom block in my dashboard
 
Hi, I created a block and I want it in my dashboard. However, when I turn editing on in that page, I can't see many blocks in the list of blocks to add. what am I missing? I'm using moodle 2.2.6
 
Average of ratings: -
Picture of edu g
Re: custom block in my dashboard
 

solved!

I needed to write correctly the applicable_formats method

    function applicable_formats() {
        return array('all' => whatever, 'my' => true);
    }

 
Average of ratings: -