How to use the blocks ??

How to use the blocks ??

by A SSSS -
Number of replies: 0

How to use the blocks to get the layout elements?


Example:

layout/frontpage.php

<?php echo $OUTPUT->blocks('course_summary', 'span3'); ?>

config.php

'course_summary' => array(
        'file' => 'frontpage.php',
        'regions' => array('course_summary'),
        'defaultregion' => 'course_summary',
)

I want to use the block with the id course_summary, only that it does not appear on the frontpage...


Average of ratings: -