Course Overview Block on Front Page?

Re: Course Overview Block on Front Page?

by Abdul Bashet -
Number of replies: 0

If you wants to show your students course overview on successful login ( I call it landing page), this can be achieved from the link below:

http://your_wwwroot/admin/settings.php?section=navigation

and then see the first option 'Default home page for users' and change to 'My Home' instead of 'site'.

---------------------------------------------------------------------------------------------

If you have deleted the course_overview from your My Home by mistake, there is two solutions for them, such as

1. At first add the block in any side (left/right), then update defaultregion = 'content' in the table called 'mdl_block_instances'.

2. you have to change the config.php from your theme directory as below:

$THEME->layouts = array(
    // My dashboard page.
    'mydashboard' => array(
        'file' => 'columns3.php',
        'regions' => array('side-pre', 'side-post', 'content'),
        'defaultregion' => 'side-pre',
        'options' => array('langmenu'=>true),
    ),
);

see the line above started with 'region'.

therefor, you have to add $string['region-content'] = 'Content'; to the lang file in your theme directory.

this will allow you to move the block to content (centre) area always from the frontend for any block.