I'd like to add a block in all the courses' main pages. How to make that?
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.
I tried all the three options, none works.
I really need help!
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.
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.
I really need help.
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.
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.
- 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.
Thank you, that's the only working way! I think it may be a bug that the way I did does not work.