MDL-47391 Update pagelayout for default profile configuration
This commit is contained in:
committed by
Sam Hemelryk
parent
dd818fdb44
commit
0df5893423
+1
-1
@@ -38,7 +38,7 @@ require_login();
|
||||
$header = "$SITE->shortname: ".get_string('publicprofile')." (".get_string('myprofile', 'admin').")";
|
||||
|
||||
$PAGE->set_blocks_editing_capability('moodle/my:configsyspages');
|
||||
admin_externalpage_setup('profilepage', '', null, '', array('pagelayout' => 'mydashboard'));
|
||||
admin_externalpage_setup('profilepage', '', null, '', array('pagelayout' => 'mypublic'));
|
||||
|
||||
// Override pagetype to show blocks properly.
|
||||
$PAGE->set_pagetype('user-profile');
|
||||
|
||||
Reference in New Issue
Block a user