How to add a block cross-courses?

How to add a block cross-courses?

door wz z -
Aantal antwoorden: 10

I'd like to add a block in all the courses' main pages. How to make that?

Gemiddelde van de beoordelingen:  -
Als antwoord op wz z

Re: How to add a block cross-courses?

door Jon Bolton -
Foto van Testers

In a course, make sure editing is turned on. Add a block using the 'add block' drop down - it will be either be at bottom left, or bottom right depending on your theme. You can configure the block to show on any course main page or any course page. The latter will show the block on almost every screen in your course. See the Blocks documentation for more info.

Gemiddelde van de beoordelingen:  -
Als antwoord op Jon Bolton

回复: Re: How to add a block cross-courses?

door wz z -

I tried all the three options, none works.


Gemiddelde van de beoordelingen:  -
Als antwoord op wz z

回复: Re: How to add a block cross-courses?

door wz z -

I really need help!

Gemiddelde van de beoordelingen:  -
Als antwoord op wz z

Re: 回复: Re: How to add a block cross-courses?

door Jon Bolton -
Foto van Testers

Need a bit more information!

When you say you tried the previous instructions but nothing works... 

  • What doesn't work?
  • Which block/s are you trying to add? Some blocks can't be used in the course context.
  • Is the block displaying on any page within the course?
  • Did you try the other options in that screenshot?
  • Did you see any error messages?
  • Which version of Moodle are you using?
  • Which theme are you using?

    That's not a definitive list, tell us anything else that you think might be relevant.


    Gemiddelde van de beoordelingen:  -
    Als antwoord op Jon Bolton

    回复: Re: 回复: Re: How to add a block cross-courses?

    door wz z -

    Thank you for responding me!

    My Moodle is 3.2, boost theme.

    I'd like to add a "Sharing cart" block and display it on all courses' main page, just like the core built-in "Latest announcements block" behaves. 

    I tried all the options of configuring a block and still failed to make it, and I did not see any error messages.

    I want to make it, because many teachers don't know how to add a block themselves.

    Gemiddelde van de beoordelingen:  -
    Als antwoord op wz z

    回复: Re: 回复: Re: How to add a block cross-courses?

    door wz z -

    I really need help.glimlach

    Gemiddelde van de beoordelingen:  -
    Als antwoord op wz z

    Re: 回复: Re: 回复: Re: How to add a block cross-courses?

    door Jon Bolton -
    Foto van Testers

    There's no reason why the instructions in this thread and in the Blocks documentation won't work.

    Did you read the comments on the Sharing Cart block plugin page though? It seems there are reported problems with that block and the Boost theme. I would suggest you try following the instructions using the Clean theme and see if it works then. That will help you eliminate one potential problem.

    Gemiddelde van de beoordelingen:  -
    Als antwoord op Jon Bolton

    回复: Re: 回复: Re: 回复: Re: How to add a block cross-courses?

    door wz z -

    On the /admin/blocks.php page as shown below. I checked again that any block I manually added with the setting of "Any type of course main page" did not display on other courses main page in fact. But the built-in Calendar block with the same setting really display on any course main page.

    Gemiddelde van de beoordelingen:  -
    Als antwoord op wz z

    Re: 回复: Re: 回复: Re: How to add a block cross-courses?

    door Phuong Hoang -

    Hi guy,

    If you want to add Sharing cart displaying sitewide, you must add this block in the Front page (not in the course as I see in your screenshot above) and select "Display throughout the entire site"

    - I've tested in my site moodle 3.2 and More theme. It works like a charm.

    - P/S: Do remember Sharing cart block only display when turning editing on.

    Gemiddelde van de beoordelingen:  -
    Als antwoord op Phuong Hoang

    回复: Re: 回复: Re: 回复: Re: How to add a block cross-courses?

    door wz z -

    Thank you, that's the only working way! I think it may be a bug that the way I did does not work.

    Gemiddelde van de beoordelingen:  -