php - Possible to Customize Profile Page on Moodle without touching core? -



php - Possible to Customize Profile Page on Moodle without touching core? -

is there way customize profile page in moodle without editing core files? possible override page , maintain edits within theme files? similar how overriding renderer keeps edited render files within of theme folder?

you utilize the $cfg->customscripts setting utilize re-create of profile.php :

create customscripts folder

yourmoodlesite/customscripts

then set

$cfg->customscripts = 'yourmoodlesite/customscripts';

then create user folder in customscripts , re-create profile.php have

yourmoodlesite/customscripts/user/profile.php

and remove or comment out require...config.php line.

now moodle utilize /customscripts/user/profile.php when viewing profile.

have yourmoodlesite/config-dist.php more details

php moodle

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -