How to Add Custom Block to Home Page

How to Add Custom Block to Home Page

by Jason Lea -
Number of replies: 3
I recently developed a custom block to display on my home page. i added the sub folder to the blocks directory. which contains the html, css and php code to develop the block.

Now i need the block to display. I know on the home page one can turn editing on and one can add a new block. But i'm unsure which type of block to choose to use.

The block is used to display students who are doing the same course as the person logged in.

Some help would be much appreciated.
Regards.
Attachment block.png
Average of ratings: -
In reply to Jason Lea

Re: How to Add Custom Block to Home Page

by David Atonaltzin J A -
Hi Jason:
To make install a block, and make it appear in the dropdown list, you need to click on notify link first.
What did you mean with "which type of block to choose to use"?

If you explain your problem we will can help you.


In reply to Jason Lea

Re: How to Add Custom Block to Home Page

by Teresa Gibbison -
Hi Jason
If you have developed a new block check the Development:Block documentation to ensure you haven't missed anything. If you have it set up correctly in your Moodle Block directory visit the Notifications page to ensure it 'registers' as a new custom block, which would make it appear in your Add Blocks dropdown.
I hope this helps
Cheers
Teresa