MDL-70267 - Course user profile has a different pagelayout to other profile pages

MDL-70267 - Course user profile has a different pagelayout to other profile pages

by Gareth J Barnard -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

As a heads up, MDL-70267 has just landed in core.  This means that '/user/view.php' will have the same layout as '/user/profile.php', being 'mypublic', instead of them being different with '/user/view.php' previously having the 'standard' layout.  Thus theme designers, if you'd made changes in this area, then update and only one consistent page layout will be used.

In the mean time, as a user, if you're confused by the different layouts then get your admin to update core Moodle.  The fix has been applied to M3.8+.  Or patch it by editing '/user/view.php' and changing:

$PAGE->set_pagelayout('standard');

to

$PAGE->set_pagelayout('mypublic');

Gareth


Average of ratings: Useful (1)