Displaying Moodle Blocks in a newmodule page

Displaying Moodle Blocks in a newmodule page

by Cian Scanlon -
Number of replies: 0

Hello,

I've added new pages in my plugin and i want to display the Moodle blocks like in any previous page for Moodle. 

If i add the code that displays it on other pages. e.g. view.php. Then i'm given a "You must specify a course_module ID or an instance ID".

Is there something i'm missing from moving through pages that would prevent me from copy and pasting the display code from the view.php?

 

Thank you

Average of ratings: -