hi all,
I just write my first blocks and it's fine in a course page.
now i want to add a new page with "hello world" in the middle of this page, and all blocks from the course on left and rigth side.
the problem is my page have any blocks except navigation block.
So in my block i have a link to a newfile.php
in this file i have :
require_once('../../config.php');
require_login($course, true, $cm);
$PAGE->set_title('My modules page title');
$PAGE->set_heading('Links');
$PAGE->set_pagelayout('course');
echo $OUTPUT->header();
echo "Hello World";
echo $OUTPUT->footer();
what i have missed to add all configured blocks (on left and right side) of my orign course
thanks for any help