Can't add block to System, only Front Page

Can't add block to System, only Front Page

by Nathan Robert -
Number of replies: 3

So I installed this block: https://moodle.org/plugins/view.php?plugin=block_course_menu

Using the DEV version from GIT though: https://github.com/netsapiensis/moodle-block_course_menu/tree/MOODLE_23_DEV

And when adding it to the front page it gives me no option to "Display throughout the entire site".

How can I get this block to display on the entire site?

A screenshot of the issue

Thanks

Moodle 2.6.3+

Average of ratings: -
In reply to Nathan Robert

Re: Can't add block to System, only Front Page

by Derek Chirnside -

Nathan, I tried to solve this a while back.

https://moodle.org/mod/forum/discuss.php?d=223620

I made no progress and gave up.

-Derek

In reply to Derek Chirnside

Re: Can't add block to System, only Front Page

by Nathan Robert -

That is sad. 

This Block is better than the default navigation block in so many ways.

When I have enough time I'll mess around with the php files more and see if I can get something to work. It's pretty odd that it gives you the option do display throughout site for every other block just not this one.

~Nathan

In reply to Nathan Robert

Re: Can't add block to System, only Front Page

by Mike Grant -

Could you try adding the following code to block_course_menu?

public function applicable_formats() {

        return array('course' => true, 'site' => true);

    }