custom block in my dashboard

custom block in my dashboard

by edu g -
Number of replies: 1
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: -
In reply to edu g

Re: custom block in my dashboard

by edu g -

solved!

I needed to write correctly the applicable_formats method

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